What are the challenges you face when working across database platforms? Take the survey

Errro during executing

ArpanArpan Posts: 2
edited September 19, 2006 7:54AM in SQL Compare Previous Versions

We are using SQL Compare 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.