Frequest error loading ORM support classes

Posts   
 
    
Posts: 72
Joined: 11-Aug-2006
# Posted on: 30-Nov-2006 01:26:53   

Hi there

I think this is a microsoft bug - but it drives me nuts and I was wondering if you know a workaround for it.

Using latest Dll's ( Nov 06 ) , Version 2.0 of the .NET framework

Often when compiling I get ...

Could not load file or assembly 'SD.LLBLGen.Pro.ORMSupportClasses.NET20' or one of its dependencies. The process cannot access the file because it is being used by another process. (Exception from HRESULT: 0x80070020)

I found a post which says something about dll's being larger that 640k. Does this happen a lot? google groups

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 30-Nov-2006 07:25:21   

I beleieve the assembly size is less than 640 K.

You said "Often when compiling I get ", does this mean it works sometimes and sometimes not?

Do you have an antivirus program that uses real-time scanning? If yes, please try to stop real time scanning and try again.

Would you give us more hints about your setup? Windows version, Target Database.

Do you set CopyLocal to true, when referencing the assembly in your VS solution?

Posts: 72
Joined: 11-Aug-2006
# Posted on: 30-Nov-2006 21:57:10   

I think that post was misleading. It was the MS Indexing service - scanning temp files & causing the problems. I switched it off and it appears to have stopped the error!simple_smile