PRB: "Can not Access File 'AssemblyName' Because It Is Being Used by Another Process" Error Message in ASP.NET (324519)
The information in this article applies to:
- Microsoft .NET Framework 1.1
- Microsoft .NET Framework 1.0
- Microsoft ASP.NET (included with the .NET Framework 1.1)
- Microsoft ASP.NET (included with the .NET Framework) 1.0
This article was previously published under Q324519 SYMPTOMS
You may receive the following error message in ASP.NET:
Parser Error Message: Can not access file 'AssemblyName' because it is being used by another process.
Source Error:
Line x1: <add assembly="System.Drawing, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line x2: <add assembly="System.EnterpriseServices, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
Line x3: <add assembly="*"/>
Line x4:</assemblies>
Line x5:
NOTE: In this error message, the words "can not" are a misspelling for the word "cannot."
You receive this error message if the following conditions are true:
- The assembly that is specified in the error message is a signed assembly and is not installed in the Global Assembly Cache (GAC); instead, the assembly is in the Bin directory of the ASP.NET Web application.
-and-
- Your ASP.NET Web application has just been restarted.
CAUSE
This problem occurs because signed assemblies in the Bin directory are not supported.
RESOLUTION
To work around this problem, install the assembly to the GAC.
STATUSThis behavior is by design.
Modification Type: | Minor | Last Reviewed: | 9/27/2005 |
---|
Keywords: | kbHotfixServer kbQFE kberrmsg kbpending kbprb KB324519 |
---|
|