Visual Studio .NET hang-up

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Robert Rotstein

    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?


  • Mark Rance

    #2
    Re: Visual Studio .NET hang-up

    Robert Rotstein wrote:[color=blue]
    > 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?
    >
    >[/color]
    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

    Comment

    • Nick Malik [Microsoft]

      #3
      Re: Visual Studio .NET hang-up

      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


      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" <rrotstein@veri zon.net> wrote in message
      news:0Asoe.1097 $nk4.139@trndny 01...[color=blue]
      > 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?
      >
      >[/color]


      Comment

      Working...