PRB: New Project Wizard Generates Error (-2147220496) (195352)



The information in this article applies to:

  • Microsoft Visual InterDev 6.0

This article was previously published under Q195352

SYMPTOMS

When you create a new Web project with the Visual InterDev New Web Project Wizard, the following error occurs:
A reserved error occurred (-2147220496)
The error occurs after you have named the project and clicked Next.

CAUSE

Two components, Comctl32.ocx and Comdlg32.ocx, have been overwritten by older components installed with Visual InterDev 6.0.

RESOLUTION

Replace the older versions of these files with the newer versions:

  • Comctl32.ocx version 6.00.8022 or later
  • Comdlg32.ocx version 6.00.8169 or later
You can find these components on disk 1 in the OS\System directory of the Visual Studio 98 CD or the Visual InterDev 6.0 Professional CD.

To replace the older versions with the newer versions from the CD, follow these steps:
  1. To unregister the old files, from the Start menu, click Run, type regsvr32 /u Comctl32.ocx, and then click OK.
  2. From the Start menu, click Run, type regsvr32 /u Comdlg32.ocx, and then click OK.
  3. Rename the old files to Comctl32.old and Comdlg32.old.
  4. Copy the new files to the System32 directory under Windows (for example, C:\WinNT\System32).
  5. To register the new files, from the Start menu, click Run, type regsvr32 Comctl32.ocx, and then click OK.
  6. From the Start menu, click Run, type regsvr32 Comdlg32.ocx, and then click OK.
  7. Create a new Web project.

MORE INFORMATION

The error "A reserved error occurred (-2147220496)" also has other distinct causes. For additional information, please see the following articles in the Microsoft Knowledge Base:

167846 FIX: Reserved Error When Running DataForm Wizard Against

166674 BUG: Reserved Error when Entering Certain Valid SQL Statements


Modification Type:MajorLast Reviewed:8/3/2001
Keywords:kbDSupport kbide kbprb kbwizard KB195352