G
Guest
I have made a windows app using Visual C# .NET and have been designing a form
using the form designer and writing code. It was working just fine until
recently (I could view the code or view the designer just fine). Now, when I
try to view the designer, I get the following error message:
An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows:
Property accessor 'IsMdiContainer' on object
'System.Windows.Forms.Design.FormDocumentDesigner' threw the following
exception:'Specified cast is not valid.'
I have no idea how to fix the error (I don't really understand what this
error is or if it within the domain of my application or a microsoft bug).
I don't remember what I did before this started happening. I can build my
application with no errors and run it just fine though.
Any help would be appreciated.
Thanks.
using the form designer and writing code. It was working just fine until
recently (I could view the code or view the designer just fine). Now, when I
try to view the designer, I get the following error message:
An error occurred while loading the document. Fix the error, and then try
loading the document again. The error message follows:
Property accessor 'IsMdiContainer' on object
'System.Windows.Forms.Design.FormDocumentDesigner' threw the following
exception:'Specified cast is not valid.'
I have no idea how to fix the error (I don't really understand what this
error is or if it within the domain of my application or a microsoft bug).
I don't remember what I did before this started happening. I can build my
application with no errors and run it just fine though.
Any help would be appreciated.
Thanks.