BUG: Error message when you try to use Visual Studio 2005 to connect to a remote instance of SQL Server after you uninstall SQL Server Management Studio Express (SSMSE): "Class not Registered"

Article translations Article translations
Article ID: 917635 - View products that this article applies to.
Bug #: 431458 (SQLBUDT)
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
Expand all | Collapse all

SYMPTOMS

When you uninstall any one of the following products, registry keys that Microsoft Visual Studio 2005 requires may be removed:
  • SQL Server Management Studio Express (SSMSE) Community Technical Preview
  • Microsoft SQL Server 2005 Express Edition with Advanced Services Community Technical Preview if you selected SSMSE as part of the installation
  • Microsoft SQL Server 2005 Express Edition Toolkit Community Technical Preview if you selected SSMSE as part of the installation
You may receive the following error message when you try to use Visual Studio 2005 to connect to a remote instance of Microsoft SQL Server and then create a database diagram:
Class not Registered
Additionally, Visual Studio 2005 may stop responding.

CAUSE

This issue occurs because SSMSE removes some registry keys that Visual Studio requires during the uninstallation process.

RESOLUTION

To resolve this issue, you must repair the registry. To do this, follow these steps:

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
  1. Download the KB917635.exe package from the Microsoft Download Center. To do this, visit the following Microsoft Web site:
    http://download.microsoft.com/download/8/1/4/814164A0-7FAB-4F49-9763-C35CB37D8DD0/KB917635.exe
  2. Expand the files when you are prompted by the installer. Click Run if you want to install the new registry file now. Or click Save to install the registry file later.

    By default, the files are expanded to the following folder:
    C:\KB917635
  3. Open the C:\KB917635 folder, and then double-click the SSMSE.reg file to update the registry.

STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the "Applies to" section.

Properties

Article ID: 917635 - Last Review: April 26, 2006 - Revision: 1.1
APPLIES TO
  • Microsoft SQL Server 2005 Express Edition with Advanced Services
Keywords: 
kbsql2005tool kbexpertiseinter kbexpertiseadvanced kbtshoot kbbug KB917635

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com