Help and Support

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

Article ID:324519
Last Review:February 19, 2007
Revision:3.3
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.

Back to the top

CAUSE

This problem occurs because signed assemblies in the Bin directory are not supported.

Back to the top

RESOLUTION

To work around this problem, install the assembly to the GAC.

Back to the top

STATUS

This behavior is by design.

Back to the top


APPLIES TO
Microsoft .NET Framework 1.1
Microsoft .NET Framework 1.0
Microsoft ASP.NET 1.1
Microsoft ASP.NET 1.0

Back to the top

Keywords: 
kberrmsg kbqfe kbprb kbpending kbhotfixserver KB324519

Back to the top

Article Translations

 

Other Support Options

  • Need More Help?
    Contact a Support professional by Email, Online or Phone.
  • Customer Service
    For non-technical assistance with product purchases, subscriptions, online services, events, training courses, corporate sales, piracy issues, and more.
  • Newsgroups
    Pose a question to other users. Discussion groups and Forums about specific Microsoft products, technologies, and services.