BUG: You receive an "Interface not registered" error message when you try to retrieve the References collection for a VSProject object (840928)
The information in this article applies to:
- Microsoft Visual Studio .NET (2002), Professional Edition
- Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
- Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
- Microsoft Visual Studio .NET (2002), Academic Edition
SYMPTOMSYou install Microsoft Visual Studio .NET 2002 and Microsoft
Visual Studio .NET 2003 on your computer, and then you remove Visual Studio
.NET 2002. If you create a macro that retrieves the References collection for a project by using the VSProject object, and then you run the macro, you receive the following
error message: Interface not
registered CAUSEThis error occurs when you remove Visual Studio .NET 2002
from your computer. When you do this, the References interface in the VSLangProj library is unregistered.WORKAROUNDTo work around this problem, repair or reinstall Visual
Studio .NET 2003. To do this, follow these steps:
- Do one of the following, depending on your operating
system:
- Microsoft Windows 2000
In Control Panel, double-click the Add/Remove
Programs icon. The Add/Remove Programs dialog box
appears. - Microsoft Windows XP or Microsoft Windows Server 2003
In Control Panel, double-click the Add or Remove
Programs icon. The Add or Remove Programs dialog box
appears.
- In the list of programs, click the Visual Studio .NET 2003
program, and then click Change/Remove.
- In the Microsoft Visual Studio .NET Setup
dialog box, click Visual Studio .NET.
- In the Microsoft Visual Studio .NET
Maintenance dialog box, click
Repair/Reinstall.
STATUSMicrosoft has confirmed that this is a bug in the Microsoft
products that are listed in the "Applies to"
section.REFERENCESFor more information, visit the following Microsoft
Developer Network (MSDN) Web sites:
Modification Type: | Minor | Last Reviewed: | 3/7/2006 |
---|
Keywords: | kbvs2005swept kbvs2005doesnotapply kbvs2002sp1sweep kbmacro kberrmsg kbsetup kbenv kbbug KB840928 kbAudDeveloper |
---|
|