问题

问题

问题

我一直尝试在 Windows Server 2012 上安装 SQL Server 2012。我不断收到相同的错误:

Managed SQL Server Installer has stopped working

Problem signature:
  Problem Event Name:   CLR20r3
  Problem Signature 01: scenarioengine.exe
  Problem Signature 02: 11.0.3000.0
  Problem Signature 03: 5081b97a
  Problem Signature 04: Microsoft.SqlServer.Chainer.Setup
  Problem Signature 05: 11.0.3000.0
  Problem Signature 06: 5081b97a
  Problem Signature 07: 18
  Problem Signature 08: 0
  Problem Signature 09: System.IO.FileLoadException
  OS Version:   6.2.9200.2.0.0.272.79
  Locale ID:    1033
  Additional Information 1: c319
  Additional Information 2: c3196e5863e32e0baf269d62f56cbc70
  Additional Information 3: 422d
  Additional Information 4: 422d950c58f4efd1ef1d8394fee5d263

我尝试过的方法

经过初步的谷歌搜索后,我尝试了以下操作:

  • 查看硬件和软件先决条件列表。所有软件似乎默认安装在 Server 2012 上,而且我的硬件满足要求。
  • 将安装介质复制到本地驱动器并尝试从该驱动器安装(而不是 DVD)。这会产生相同的错误。
  • 根据另一条错误消息,我安装了 .NET 4.0(显然它不是开箱即用的 Server 2012)。同样的错误。
  • 从命令行安装。这也不起作用,但它给了我一个不同的错误:

错误:

Unhandled Exception: System.IO.FileLoadException: Could not load file or assembl
y 'Microsoft.SqlServer.Configuration.Sco, Version=11.0.0.0, Culture=neutral, Pub
licKeyToken=89845dcd8080cc91' or one of its dependencies. Strong name validation
 failed. (Exception from HRESULT: 0x8013141A) ---> System.Security.SecurityExcep
tion: Strong name validation failed. (Exception from HRESULT: 0x8013141A)
   --- End of inner exception stack trace ---
   at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.CheckForBoo
leanInputSettingExistenceFromCommandLine(ServiceContainer context, String settin
gName)
   at Microsoft.SqlServer.Chainer.Setup.Setup.DebugBreak(ServiceContainer contex
t)
   at Microsoft.SqlServer.Chainer.Setup.Setup.Main()

应用程序日志有以下内容:

事件 ID 1026

Application: ScenarioEngine.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.FileLoadException
Stack:
   at Microsoft.SqlServer.Chainer.Infrastructure.InputSettingService.CheckForBooleanInputSettingExistenceFromCommandLine(Microsoft.SqlServer.Chainer.Infrastructure.ServiceContainer, System.String)
   at Microsoft.SqlServer.Chainer.Setup.Setup.DebugBreak(Microsoft.SqlServer.Chainer.Infrastructure.ServiceContainer)
   at Microsoft.SqlServer.Chainer.Setup.Setup.Main()

事件 ID 1000:

Faulting application name: ScenarioEngine.exe, version: 11.0.3000.0, time stamp: 0x5081b97a
Faulting module name: KERNELBASE.dll, version: 6.2.9200.16384, time stamp: 0x5010ab2d
Exception code: 0xe0434352
Fault offset: 0x00000000000189cc
Faulting process id: 0x8fc
Faulting application start time: 0x01cecc205109f96e
Faulting application path: D:\x64\ScenarioEngine.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 9174db4d-3813-11e3-93f1-000c29908169
Faulting package full name: 
Faulting package-relative application ID: 

知道我遗漏了什么吗?

答案1

我搞清楚了——安装的某些部分需要 .NET 3.5,而这在 Server 2012 上不是标准配置。要在 Server 2012 上启用此功能,您需要插入 2012 磁盘,然后在 shell 提示符下键入以下命令:

dism /online /enable-feature /featurename:NetFX3 /all /Source:d:\sources\sxs /LimitAccess

找到解决方案这里。此外,再次审查了 Microsoft 的KB2681562

答案2

几乎遇到了同样的错误。无法启动 SQL 安装向导,只有一个错误:“托管 SQL Server 安装程序已停止工作”+ CLR20r3 + filenotfoundexception。尝试了其他 Win2012r2 安装、全新 vanilla 安装和带更新的新安装,但均未成功。解决方案:删除 Windows 更新 kb2966826-27-28,然后就可以正常工作了。链接:https://support.microsoft.com/en-us/help/3002547/您不能启用-the-microsoft--net-framework-3-5-feature-on-windows 天哪——这可不太棒。

相关内容