Windows-Server-2012

無法在 Server 2012 上安裝 SQL Server

  • January 22, 2018

問題

我一直在嘗試在 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

我試過的

在最初的Google搜尋之後,我嘗試了以下事情:

  • 瀏覽硬體和軟體先決條件列表。預設情況下,所有軟體似乎都在 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: 

有什麼我想念的想法嗎?

我想通了——部分安裝需要 .NET 3.5,這在 Server 2012 上不是標準的。要在 Server 2012 上啟用此功能,您需要放入 2012 磁碟,並在 shell 提示符下鍵入以下命令:

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

在這裡找到了解決方案。此外,在 Microsoft 的KB2681562中再次查看了先決條件。

得到幾乎相同的錯誤。無法啟動 SQL 安裝嚮導,只有一個錯誤:“託管 sql server 安裝程序已停止工作”+ CLR20r3 + filenotfoundexception。嘗試了其他 Win2012r2 安裝,新的 vanilla 安裝和帶有更新的新安裝,但沒有成功。解決方案:刪除 windows 更新 kb2966826-27-28 然後它工作。連結: https: //support.microsoft.com/en-us/help/3002547/you-cannot-enable-the-microsoft–net-framework-3-5-feature-on-windows 我的天——這不是驚人的。

引用自:https://serverfault.com/questions/546988