Class Not Registered (Microsoft.SqlServer.SqlTools.VSIntegration)

本文解决安装SQL Server 2008后,使用SQL Server Management Studio 2005打开表时出现的“Class not registered”错误。通过重建SQL Server 2005注册表来修复。

Applies to: Microsoft SQL Server 2005, Windows Server 2003, SQL Server Management Studio 2005.
Error Message.
Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
(Microsoft.SqlServer.SqlTools.VSIntegration)

Troubleshooting010-01.PNG

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

Solution.

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.
Example:
Start /wait C:\SQLDev\setup.exe /qb INSTANCENAME=(local) REINSTALL=ALL REINSTALLMODE=omus SAPWD=password
The following images illustrate the execution of this command.

Troubleshooting010-02.PNG

Troubleshooting010-03.PNG

Troubleshooting010-04.PNG

Troubleshooting010-05.PNG

After rebuild SQL Server 2005 Registry, we verified that the SQL Server 2008 installation was still functional.

References.

http://www.sqlcoffee.com/Troubleshooting010.htm

转载于:https://www.cnblogs.com/liuzijing688/archive/2008/01/30/1058982.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值