473,666 Members | 2,392 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Visual Studio .NET hang-up

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?
Nov 17 '05 #1
2 1407
Robert Rotstein wrote:
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 "Unspecifie d Error"
about 2-3 times a day. Several of my teammates see this same thing on
their machines.

-Mark
Nov 17 '05 #2
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.
--
"Robert Rotstein" <rr*******@veri zon.net> wrote in message
news:0Asoe.1097 $nk4.139@trndny 01...
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?

Nov 17 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
1514
by: sam c | last post by:
I have some code that looks a bit like this (note: this isn't the actual code, it's just here in an attempt to help me explain what actions I'm doing): void foo(int bar1) { } void foo(float bar2) {
0
1240
by: Rob Rogers | last post by:
Visual Studio.Net started hanging when trying to create an ASP.NET application. The problem started after I installed "Norton Firewall". I haven't had any luck getting support from Norton. The problem goes away if I uninstall "Norton Firewall". I had other problems with "ZoneAlarm" and tried this. The application event log shows the following message and no others.
0
1252
by: Scott Nonnenberg [MSFT] | last post by:
Log in with us and spend some time talking about your favorite tool for writing C# code! Come to ask questions, suggest new features, or just hang out with the people who work on the tool you use! Scott Nonnenberg Program Manager Visual C# Team The C# IDE
0
1008
by: Scott Nonnenberg [MSFT] | last post by:
Log in with us and spend some time talking about your favorite tool for writing C# code! Come to ask questions, suggest new features, or just hang out with the people who work on the tool you use! Scott Nonnenberg Program Manager Visual C# Team The C# IDE
2
2308
by: Z.K. | last post by:
I was wondering if someone could tell me why I get this message and how to prevent it. If I hit continue, it runs fine, but want to know what I am doing wrong so I won't get this error in the future. also what is the file Clock.vshost.exe; my application is Clock.exe. Z.K. 'Clock.vshost.exe' (Managed): Loaded 'C:\Documents and Settings\Super_Wizard\My Documents\Visual Studio
0
8440
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8863
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8780
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7378
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5661
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4192
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4358
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2765
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
1763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.