Solved

MDA: LoaderLock was detected

Posted on 2007-03-20
6
2,273 Views
Last Modified: 2013-12-17
I wrote a .NET control written in C#.  This C# .NET control references a C# DLL.  The control has a whole bunch of radio buttons, text boxes, etc.  When I am debugging the control and I try to enter text into one of my text boxes, as soon as I try to enter a letter, I get a LoaderLock error from the MDA.  Here's the error message:

"LoaderLock was detected Message: 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 have no code associated with any of the the text box's events.

The weired thing is that this code used to work fine, and I haven't really changed anything about it.

PLEASE HELP....

Thanks,
axnst2
0
Comment
Question by:axnst2
  • 2
6 Comments
 

Author Comment

by:axnst2
ID: 18763558
Oh...Ok...I got it..it was the well known MSA problem, meaning Microsoft Sucks A..
All I had to do was restart my computer.
Thanks you Mr. Gates...

-axnst2
0
 

Expert Comment

by:gerrystrat
ID: 18823015
Thanks.  You just saved me a lot of headaches!  I looked at this for an hour before I saw your post.  A reboot did it...
0
 

Author Comment

by:axnst2
ID: 18941481
No prblem buddy...I'm glad I could help someone.  It took me half of a day to solve the issue (meaning reboot).
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19154274
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (http://www.experts-exchange.com/Programming/Languages/.NET/ASP.NET/A_4334-Minify-and-Concatenate-Your-Scripts-and-Stylesheets.html)…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
THe viewer will learn how to use NetBeans IDE 8.0 for Windows to perform CRUD operations on a MySql database.
The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now