Monday, December 1, 2008

Visual Studio 2003 Interface Not Registered Error

When you build a Setup project in Microsoft Visual Studio .NET, you may receive the following error message:

"Could not find file. Interface not registered."

CAUSE
This problem occurs if the Ole32.dll file that is located in the %Windir%\System32 folder is not registered correctly in the Microsoft Windows registry.

RESOLUTION
To resolve this problem, register the Ole32.dll file. To do this, follow these steps:
1. Click Start, and then click Run. The Run dialog box appears.
2. In the Open box, type the following command, and then click OK:
Regsvr32.exe %Windir%\System32\Ole32.dll
You receive the following message in the RegSvr32 dialog box:
DllRegisterServer in C:\WINDOWS\System32\ole32.dll succeeded.
3. In the RegSvr32 dialog box, click OK.
4. Start Visual Studio .NET, and then rebuild your Setup project.

No comments:

Post a Comment