Errro during executing
Arpan
Posts: 2
Hi,
We are using SQL Compare 5.2.0.32 version and writing .NET 2.0 Console Application to automate Schama Comparision. When we are running our application we are getting following errors on this statement :
Database devDatabase= new Database();
LoaderLock was detected
Message: DLL 'D:\........\bin\Debug\RedGate.Licensing.Helper.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
Your help will be appreciated.
We are using SQL Compare 5.2.0.32 version and writing .NET 2.0 Console Application to automate Schama Comparision. When we are running our application we are getting following errors on this statement :
Database devDatabase= new Database();
LoaderLock was detected
Message: DLL 'D:\........\bin\Debug\RedGate.Licensing.Helper.dll' is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
Your help will be appreciated.
This discussion has been closed.
Comments
Please ignore this and continue. It's a warning rather than an error and just illustrates that .NET 2005 is more finicky about 'weak' assembly references.
Please advise as to how to ignore this error or warning about the LoaderLock. I cannot also see any Exception menu under Debug to do this.
Regards,
Manju