Microsoft KB Archive/917635

= 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): &quot;Class not Registered&quot; =

Article ID: 917635

Article Last Modified on 4/26/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Express Edition with Advanced Services

-



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



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.  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

 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

 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 &quot;Applies to&quot; section.

Keywords: kbtshoot kbbug kbexpertiseadvanced kbexpertiseinter kbsql2005tool KB917635

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.