Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / WinForm General / February 2005

Tip: Looking for answers? Try searching our database.

Unspecified error on opening a form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Hin - 01 Feb 2005 02:39 GMT
I often encounter the following when i try to view the form in VS.NET 2003:

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

Unspecified error

Anyone know the possible causes or how to fix this?
Thanks!

--
Regards,
Hin
Bruce Wood - 01 Feb 2005 18:22 GMT
This most frequently happens to me when I'm building forms that rely on
classes from other .NET projects (DLLs) that I have built.

If I rebuild the other project(s) but haven't yet recompiled the
projects with the forms in it, then I get errors like this.

It seems to be a problem in the Visual Studio designer: it doesn't cope
very well with referenced dlls being out of date.

I usually close the designer windows and rebuild the project, then open
them again. Usually this resets things so that the designer is happy
again.

Sometimes the designer gets so confused that I have to close all open
windows in the project, rebuild the project, shut down Visual Studio,
start it up again, rebuild the project agian, and then I can usually
use the designer again.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.