Have to shutdown Visual Studio to fix

Posts   
 
    
Posts: 20
Joined: 23-Feb-2005
# Posted on: 08-Mar-2005 19:57:27   

Every so often I get the following error

Line 196: <add assembly="System.EnterpriseServices, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 197: <add assembly="System.Web.Mobile, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/> Line 198: <add assembly="*"/> Line 199: </assemblies> Line 200: </compilation>

Source File: c:\windows\microsoft.net\framework\v1.1.4322\Config\machine.config Line: 198

Assembly Load Trace: The following information can be helpful to determine why the assembly 'SD.LLBLGen.Pro.ORMSupportClasses.NET11' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = SD.LLBLGen.Pro.ORMSupportClasses.NET11
 (Partial)
LOG: Appbase = file:///c:/inetpub/wwwroot/FAIS
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Policy not being applied to reference at this time (private, custom, partial, or location-based assembly bind).
LOG: Post-policy reference: SD.LLBLGen.Pro.ORMSupportClasses.NET11
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/fais/768fa114/3780c907/SD.LLBLGen.Pro.ORMSupportClasses.NET11.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/fais/768fa114/3780c907/SD.LLBLGen.Pro.ORMSupportClasses.NET11/SD.LLBLGen.Pro.ORMSupportClasses.NET11.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/wwwroot/FAIS/bin/SD.LLBLGen.Pro.ORMSupportClasses.NET11.DLL.
LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: SD.LLBLGen.Pro.ORMSupportClasses.NET11, Version=1.0.2004.1, Culture=neutral, PublicKeyToken=ca73b74ba4e3ff27

Most of the time I just shut down Visual Studio and reload the project and it goes away. The problem is that it is happening more and more frequently and it takes 5-7 minutes to restart Visual studio.

Thanks in advance Rich

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 08-Mar-2005 23:33:59   

Strange error.. do you have a virusscanner running which scans that folder? It can also be that you have multiple projects using that assembly and you should then set 'copy local' to false in all of them but one (or in all of them and update the assembly in the bin folder by hand)

Frans Bouma | Lead developer LLBLGen Pro
Cadmium avatar
Cadmium
User
Posts: 153
Joined: 19-Sep-2003
# Posted on: 09-Mar-2005 00:23:04   

Otis wrote:

It can also be that you have multiple projects using that assembly and you should then set 'copy local' to false in all of them but one (or in all of them and update the assembly in the bin folder by hand)

I've run across this before. The best way around it is by making sure the runtime libs are in the gac, that will automatically set copy local to false and everything will still work correctly.