Windows Form no longer loads in VS.NET designer!! :(

J

Jon Rista

I have been working on a fairly large application for a couple months now,
and a few minutes ago, when I opened the main form in design view, I got the
following message:

"An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows:

Exception from HRESULT: 0x80131019"

I have no clue what that HRESULT means, and I am extremely worried about my
form. Its a massive form, with LOTS of controls that I can't afford to
loose. It appalls me that Microsoft would allow such a horrible thing to
happen with such a worthless error message. :(

Jon Rista
 
N

Nishith Prabhakar

have faced this problem before ... but cudn't find an exact reason why it
happens ... Two things you can try here ...

1) remove the form from the project ... and add it again ... wierd ... but
thats how things work sometimes :)

2) Go through the form file in a text editor and see if you can find
something wrong with a control that you might have added ...

Nishith
 

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

Top