Errro during executing

ArpanArpan Posts: 2
edited September 19, 2006 7:54AM in SQL Compare Previous Versions
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:

Comments

This discussion has been closed.