[转载]安装SQL Server 2008 R2遇到“...Setup has stopped working.”

在安装SQL Server 2008 R2应用程序过程中,有时会遇到“...Setup has stopped working.”的错误而无法成功完成。

  这种情况大多出现在SQL安装包语言版本与操作系统语言不同(如中文版的SQL 2008 R2安装到英文版的Windows 7或者Server 2008)上时,安装开始之前的前提检测都能顺利通过,但当进行到“ExecuteStandardTimingsWorkflow”这一环节时安装报错并自动退出安装过程。

    具体的错误日志(位置:
C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\YYYYMMDD_HHMMSS\Detail_ComponentUpdate.txt)中会有如下类似的记录:

  1. ...
  2. Slp: Running Action: PostMsiTimingConfigAction
  3. Slp: The object state property 'workflow' is null/empty.
  4. Error: Action "PostMsiTimingConfigAction" failed during execution.
  5. Slp: Completed Action: PostMsiTimingConfigAction, returned False
  6. Slp: Completed Action: ExecuteStandardTimingsWorkflow, returned True
  7. ...
复制代码

网上有一些类似的问题报告,包括微软官方社区,但很少能提供有效的解决方案。51aspx的意思是,如果那些方法不能解决你的问题,请尝试将操作系统的语言切换到与SQL SERVER相同的语言版本后(这个操作对于Windows 7企业版和旗舰版来说是很容易做到的)再安装——这正好解决了我遇到的这个问题。
  顺便说一下,SQL SERVER 2008 R2的中文版安装包在英文操作系统环境下运行时,安装界面默认是英文的。

如果是先安装英文版的VS2010,也可以按照下面办法来解决:

Well I finally figured it out and after looking back (as always) it was quite simple.
I had previously deinstalled Visual Studio 2008 (at least I thought I had) and physically removed the folder C:\Program Files\Microsoft Visual Studio 9.0.
However there was one remaining item named "Microsoft Visual Studio Tools for Applications 2.0 - ENU" in the Control Panel Add/Remove programs, which I had not removed because I thought it belonged to my Visual Studio 2005 installation.
So, when SQL Server 2008 BI installation ran, it found it was installed but then couldn't find the file C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\vsta.exe  because I had removed the folder and contents.
I deinstalled "Microsoft Visual Studio Tools for Applications 2.0 - ENU". 
I then deinstalled SQL Server 2008 BI option and Managment Tools option successfully.
And then I re-installed SQL Server 2008 BI option and Managment Tools options SUCCESSFULLY!

 

原文:http://bbs.51aspx.com/showtopic-24696.html

posted on   backslash112  阅读(2132)  评论(1编辑  收藏  举报

编辑推荐:
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
· AI与.NET技术实操系列:向量存储与相似性搜索在 .NET 中的实现
阅读排行:
· 10年+ .NET Coder 心语 ── 封装的思维:从隐藏、稳定开始理解其本质意义
· 地球OL攻略 —— 某应届生求职总结
· 提示词工程——AI应用必不可少的技术
· Open-Sora 2.0 重磅开源!
· 周边上新:园子的第一款马克杯温暖上架

导航

点击右上角即可分享
微信分享提示