Skip to main content

Hi All,


I have a serious issue . Whenever I do K2 coding thru ASP.NET , I get the following error: 


DLL 'F:firstWindowsApplication1WindowsApplication1inDebugK2ROM.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
.


I add K2ROM.DLL as reference and am using K2.NET 2003 SP4 with .NET 2003.


Pls suggest a solution to the problem ASAP.


Thanks and Regards. 


 


 

Hi


You normally get this message when using Visual Studio 2005 and then you can simply:


Disable the loader lock MDA. Debug/Exceptions (ctrl-D, E), Open the Managed Debugging Assistants tree node and uncheck Loader Lock. This setting is per solution so it will only affect this solution


I just want to make sure that you are definitely using VS 2003(therefore Framework 1.1)?


Regards


 


 


Thanks a lot for Replying.


 It was of great help.


Reply