|
| cannot open form in forms editor anymore |
|
|
|
|
| Messages |
|
Related Types |
This message was discovered on microsoft.public.vsnet.ide.
| thomas woelfer |
when i try to open a form persisted to a .cs file in visual studio (2003) by double-clicking the file in project view, the forms editor does not display the form anymore.
instead, it displays the following error message:
'An error occurred while loading the document. Fix the error, and thentry loadin the document again. The error message follows: ?'
iow: the complete error message is '?', which is not very helpful.
the config is such that i have a base class form in one project, and derived forms in another project. this worked for the last 2 years or so. since yesterday, i cannot open any of the derived forms anymore. opening the base form is possible. the solution can completely be build. infact, the resulting exe + dll can be run _and_ the form is working just fine.
what could be causing this problem and how to i get my forms back ?
WM_THXADVANCE thomas woelfer
|
|
|
| |
|
| |
| |
| Les Smith |
My guess is that your .resx file is corrupt. You can rebuid the resx by the following:
1. In the Solution Explorer, click the Show All Files button. 2. Your form should have a + beside it. Click it and the .resx should show. Make a copy of the .resx file. 3. Right click on the .resx and delete it. 4. Close the IDE. 5. Restart VS and load your project, the .resx should be ok.
This has worked for me on numerous occassions, but make sure you make a copy of the resx before deleting it so that you won't be mad at me if this fails.
HTH Les Smith http://www.knowdotnet.com
"thomas woelfer" <Click here to reveal e-mail address> wrote in message news:Click here to reveal e-mail address... > when i try to open a form persisted to a .cs file in visual studio (2003) by double-clicking the file in project view, the forms editor does not display the form anymore. [Original message clipped]
since yesterday, i cannot open any of the derived forms anymore. opening the base form is possible. the solution can completely be build. infact, the resulting exe + dll can be run _and_ the form is working just fine. [Original message clipped]
|
|
|
| |
|
| |
| |
| thomas woelfer |
Les,
nope. didn't help. still can't open any of the derived forms. still no error message with some more info in it. ayn other ideas ?
WM_THXADVANCE thomas woelfer
|
|
|
| |
|
|
| |
|
|
|
|
|
|
|
|
|
BootFX
Reliable and powerful .NET application framework. |
|
|
|
|
|
|