I am guessing you are getting this error whenever you try to view a form in design view. If yes, then most likely a component inside your form is not serializing correctly into the designer. Often, when you make changes to your form's code, Visual Studio will discard the generated code in the designer file and re-serialize it. This is done to get rid of deleted events, etc. A component or control in your form is not serializing correctly, and when it is loading in design view, the incorrect serialization causes it to fail. This, of course, in my limited experience. Do you have user controls or non-MS controls (or components) in the form? If yes, try removing them to see if you can get rid of the problem. Once you determine the faulty component/control, then you can see if the problem can be corrected.d MCP- Marked As Answer byhawkvalley1 Tuesday, September 15, 2009 10:50 PM
-
|