Class Not Registered (Microsoft.SqlServer.SqlTools.VSIntegration).
Applies to: Microsoft SQL Server 2005, Windows Server 2003, SQL Server
Management Studio 2005.
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
This error came when we try to open a table with SQL Server Management Studio
2005 after installing SQL Server 2008 (Katmai - CTP November 2007) for testing
purposes on the same machine.
Rebuild SQL Server 2005 Registry running setup from the command prompt with
the REINSTALL=ALL and REINSTALLMODE=omus parameters.
The following example assumes setup is localed at the C:\SQLDev folder and it is
not located at a DVD/CD drive.
Start /wait C:\SQLDev\setup.exe /qb INSTANCENAME=(local) REINSTALL=ALL
The following images illustrate the execution of this command.
After rebuild SQL Server 2005 Registry, we verified that the SQL Server 2008
installation was still functional.
Install SQL Server 2005 from the Command Prompt