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.
:wink:
Arpan
0

Comments

3 comments

  • Brian Donahue
    Hello,

    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.
    Brian Donahue
    0
  • soumyac
    Hi,

    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
    soumyac
    0
  • Brian Donahue
    There should be a button on the warning itself that allows you to continue.
    Brian Donahue
    0

Add comment

Please sign in to leave a comment.