Microsoft Knowledge Base Email Alertz

(814698) - If you install and then remove Visual Studio .NET 2003 on a computer that has Visual Studio .NET 2002 already installed, you may notice that the following registry entries are missing: The registry entry that contains information about the type...

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 814698 - Last Review: May 31, 2007 - Revision: 4.6

Registry entries are missing after you remove Visual Studio .NET 2003 from a computer that also has Visual Studio .NET 2002 installed

On This Page

SYMPTOMS

If you install and then remove Microsoft Visual Studio .NET 2003 on a computer that has Visual Studio .NET 2002 already installed, you may notice that the following registry entries are missing:
  • The registry entry that contains information about the type library for Vdt70p.dll:
    HKEY_CLASSES_ROOT\TypeLib\{0250A161-31AF-4FD5-8381-354894204930}
  • The registry entry that contains information about the type library for Vdt70.dll:
    HKEY_CLASSES_ROOT\TypeLib\{C278AFDA-7859-4397-BFA2-66A9A0072483}

CAUSE

This problem occurs because these registry entries are removed automatically when you remove Visual Studio .NET 2003.

When you install Visual Studio .NET 2003 on a computer that has Visual Studio .NET 2002 already installed, the Vdt70p.dll file and the Vdt70.dll file are updated from version 7.0.9466.0 to the version that is included with Visual Studio .NET 2003 (for example, version 7.10.2346.0). The corresponding registry entries under the TypeLib registry key are also updated. However, these updated registry entries are removed when you remove Visual Studio .NET 2003.

RESOLUTION

To resolve this problem, repair Visual Studio .NET 2002. To do this, follow these steps:
  1. Insert the Visual Studio .NET 2002 CD-ROM in the CD-ROM drive of your computer.
  2. In the Visual Studio .NET Setup dialog box, click Visual Studio .NET.
  3. On the Maintenance Page that appears, click Repair/Reinstall.
  4. When the repair has completed, click Done, and then click Exit.

    When the repair has complete, you can add references to Vdt70p.dll and Vdt70.dll.

STATUS

Microsoft has confirmed that this is a bug in Microsoft Visual Studio .NET 2003.

MORE INFORMATION

Steps to Reproduce the Behavior

  1. Install Visual Studio .NET 2002.
  2. On the same computer, install Visual Studio .NET 2003.
  3. When the installation has completed, remove Visual Studio .NET 2003.
  4. Click Start, and then click Run.
  5. In the Open text box, type regedit, and then click OK.
  6. Verify that the following registry entries are missing:
    HKEY_CLASSES_ROOT\TypeLib\{0250A161-31AF-4FD5-8381-354894204930}

    HKEY_CLASSES_ROOT\TypeLib\{C278AFDA-7859-4397-BFA2-66A9A0072483}

REFERENCES

For more information, visit the following Microsoft Web sites:
Adding and Removing Project References
http://msdn2.microsoft.com/en-us/library/7314433t(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/7314433t(vs.71).aspx)

Inside Distributed COM: Type Libraries and Language Integration
http://msdn2.microsoft.com/en-us/library/ms809974.aspx (http://msdn2.microsoft.com/en-us/library/ms809974.aspx)

Interface Definitions and Type Libraries
http://msdn2.microsoft.com/en-us/library/aa367061.aspx (http://msdn2.microsoft.com/en-us/library/aa367061.aspx)

Runtime Callable Wrapper
http://msdn2.microsoft.com/en-us/library/8bwh56xe(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/8bwh56xe(vs.71).aspx)

Installation and Setup
http://msdn2.microsoft.com/en-us/library/e2h7fzkw(vs.71).aspx (http://msdn2.microsoft.com/en-us/library/e2h7fzkw(vs.71).aspx)

Registry
http://msdn2.microsoft.com/en-us/library/aa370338.aspx (http://msdn2.microsoft.com/en-us/library/aa370338.aspx)

APPLIES TO
  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • 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
Keywords: 
kbvs2005doesnotapply kbvs2005swept kbvs2002sp1sweep kberrmsg kbwizard kbwindowsforms kbui kbsetupman kbrepair kbregistry kbforms kbdll kbdevstudio kbsyssettings kbinterop kbenv kbappsetup kbsetup kbide kbcmndlg kbpdwizard kbdeployment kbcominterop kbnamespace kbbug KB814698
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate