Microsoft KB Archive/324519

= PRB: &quot;Can not Access File 'AssemblyName' Because It Is Being Used by Another Process&quot; Error Message in ASP.NET =

Article ID: 324519

Article Last Modified on 2/19/2007

-

APPLIES TO


 * Microsoft .NET Framework 1.1
 * Microsoft .NET Framework 1.0
 * Microsoft ASP.NET 1.1
 * Microsoft ASP.NET 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 ' ' because it is being used by another process.

Source Error:

Line x1: 

Line x2: 

Line x3: 

Line x4:

Line x5:

NOTE: In this error message, the words &quot;can not&quot; are a misspelling for the word &quot;cannot.&quot;

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.



STATUS
This behavior is by design.

Keywords: kbhotfixserver kbqfe kberrmsg kbpending kbprb KB324519

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.