Upgrade Microsoft Visual Studio 2008 to the SP1 before installing SQL Server 2008.

Today, I encounterred an issue as the following message when installing SQL Server 2008R2.

 

"A previous release of Microsoft Visual Studio 2008 is installed on this computer. Upgrade Microsoft Visual Studio 2008 to the SP1 before installing SQL Server 2008. Visual Studio SP1 can be found at http://go.microsoft.com/fwlink/?LinkId=159627."

But, I don't want to fix this issue like mentioned from http://support.microsoft.com/kb/956139/zh-cn , it's so time-consuming.

Visual Studio 2008 不支持将不带 Service Pack 的 Visual Studio 2008 与 Visual Studio 2008 SP1 安装在同一台计算机上。由于 SQL Server 2008 的某些功能将安装的组件同时也是 Visual Studio 2008 SP1 发行版本的一部分,因此 SQL Server 2008 需要 Visual Studio 2008 SP1。如果改为安装了不带 Service Pack 的 Visual Studio 2008,那么在安装 SQL Server 2008 后,它将无法正常运行。

如果尝试安装的 SQL Server 2008 功能将安装某个 Visual Studio 2008 SP1 组件,而您已安装不带 Service Pack 的 Visual Studio 2008,则会收到以下错误消息:

Rule "Previous releases of Microsoft Visual Studio 2008" failed.

A previous release of Microsoft Visual Studio 2008 is installed on this computer. Upgrade Microsoft Visual Studio 2008 to the SP1 before installing SQL Server 2008.

只有某些 SQL Server 2008 功能会安装 Visual Studio 2008 组件。如果在 SQL Server 2008 安装过程结束时选择了其中的任何功能,则当 SQL Server 2008 安装程序检测到早于 Service Pack 1 的任何 Visual Studio 产品时,它将阻止安装。

要避免此行为,请使用下列方法之一:

  • 在安装或升级至 SQL Server 2008 之前,为所有的 Visual Studio 组件安装 Visual Studio 2008 SP1 的发行版本。
  • 在安装或升级至 SQL Server 2008 之前,卸载早于 Service Pack 1 的所有 Visual Studio 2008 组件。
  • 在安装或升级至 SQL Server 2008 时,请勿选择需要安装 Visual Studio 2008 的任何 SQL Server 2008 功能。例如,不要选择 Analysis Services、Integration Services 或 Business Intelligence Development Studio 功能。


It is fortunate that I found a solution from network as below, it's helpful to modify the registry trick temporaryly.

 

 

1.Install visual Studio 2008 Sp1 and click “re run”

2.There is a registry trick to overcome this error

Go to

HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/DevDiv/VS/Servicing/9.0

rename 9.0 to 9.0old

then click “re run”  ,it will solve the problem,but better to install visual studio 2008 SP1

 

 

 

  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值