Microsoft KB Archive/835457

= You receive an &quot;interface not registered&quot; error message when you try to build a Setup project in Visual Studio .NET =

Article ID: 835457

Article Last Modified on 5/17/2007

-

APPLIES TO


 * Microsoft Visual Studio .NET 2003 Enterprise Architect
 * Microsoft Visual Studio .NET 2003 Enterprise Developer
 * Microsoft Visual Studio .NET 2003 Academic Edition
 * Microsoft Visual Studio .NET 2002 Professional Edition
 * Microsoft Visual Studio .NET 2002 Enterprise Architect
 * Microsoft Visual Studio .NET 2002 Enterprise Developer
 * Microsoft Visual Studio .NET 2002 Academic Edition

-





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

&quot;Could not find file.  Interface not registered.&quot;



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:  Click Start, and then click Run. The Run dialog box appears. 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.

 In the RegSvr32 dialog box, click OK. Start Visual Studio .NET, and then rebuild your Setup project.

