You may receive an error message when you rebuild a project in Visual Studio Tools (908401)
The information in this article applies to:
- Microsoft Visual Studio Tools for the Microsoft Office System version 2003
SYMPTOMSWhen you rebuild a project in Microsoft Visual Studio Tools for the Microsoft Office System, you may
receive an error message. This problem occurs when the following conditions are true:
- The project contains or contained a table that
was created by using a DataSet object.
- You reconfigure the DataSet object after the first time that you
build the project.
The error message is similar to the following:
Designer failed to load correctly. Do not use the
designer to work on the document until you have fixed any errors in the Error
list, and then closed and reopened the designer. Working with control or
attempting to use designer features will result in more errors being
generated. WORKAROUNDTo work around this problem, follow these steps:
- If the project no longer contains the table that was
created by using a DataSet object, reconfigure the DataSet object to re-create the table that was removed. To do this, follow these steps:
- In the DataSource explorer
window, right-click the DataSet object.
- Click Configure DataSet with
Wizard.
- Add the table back to the DataSet object, and then click Finish.
- Save and then close the worksheet in the Visual Studio
Designer.
- Reopen the worksheet in the Visual Studio
Designer.
- Remove the obsolete table adaptor instance from the
component tray.
- Remove or reconfigure the binding source instance in the
component tray.
- Remove the auto-generated code that populates the obsolete
table from the Startup event for the worksheet.
- Save the project.
- Reconfigure the DataSet object to remove the unwanted table from the DataSet object.
- Save and then build the project.
Modification Type: | Minor | Last Reviewed: | 2/3/2006 |
---|
Keywords: | kbtshoot kbprb KB908401 kbAudDeveloper |
---|
|