Visual Studio .NET hang-up

  • Thread starter Thread starter Robert Rotstein
  • Start date Start date
R

Robert Rotstein

My project was working fine. Then, all of a sudden, VStudio froze up, an
error window appeared asking me whether I wanted to send an error report.
After I sent the report, Visual Studio re-started. But now, the project
won't compile. When I try to open the main form in designer mode, I get an
error which says:

"An exception occurred while trying to create an instance of
System.Windows.Forms.Form. The exception was "Unable to load DLL (AGL).".

It tells me to "fix the error, and then try loading the document again".
But I have no idea what to do. Anybody know?
 
Robert said:
My project was working fine. Then, all of a sudden, VStudio froze up, an
error window appeared asking me whether I wanted to send an error report.
After I sent the report, Visual Studio re-started. But now, the project
won't compile. When I try to open the main form in designer mode, I get an
error which says:

"An exception occurred while trying to create an instance of
System.Windows.Forms.Form. The exception was "Unable to load DLL (AGL).".

It tells me to "fix the error, and then try loading the document again".
But I have no idea what to do. Anybody know?
Not sure about this one but my VS IDE dies with "Unspecified Error"
about 2-3 times a day. Several of my teammates see this same thing on
their machines.

-Mark
 
For some third party controls, when you install them, they add references to
themselves to the standard templates for various project types. Then, when
you uninstall the control or upgrade VS, then you see this error.

Best advice I can give: uninstall VS completely. Then reinstall it. That
will remove these references completely.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top