Ssms

無法在伺服器上安裝 SQL Server Management Studio (SSMS)

  • September 13, 2019

嘗試在我們的開發數據庫伺服器之一上安裝 SSMS 時,我們遇到了持續錯誤。我們已經嘗試了 17.4 和 17.9.1 版本的安裝程序,但錯誤消息是相同的。

從 SSMS-Setup-ENU_20190319131949.log (17.4) 中提取

10C0:10B8][2019-03-19T13:28:23]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 65
[1E58:1E70][2019-03-19T13:28:24]e000: Error 0x80070643: Process returned error: 0x643
[1E58:1E70][2019-03-19T13:28:24]e000: Error 0x80070643: Failed to execute EXE package.
[10C0:10B8][2019-03-19T13:28:24]e000: Error 0x80070643: Failed to configure per-machine EXE package.
[10C0:10B8][2019-03-19T13:28:24]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft Visual Studio Tools for Applications 2015 Language Support
...
[10C0:10B8][2019-03-19T13:33:28]e000: MainViewModel.OnBundleAction: Bundle action failed: Fatal error during installation (0x80070643)
[10C0:10B8][2019-03-19T13:33:28]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No
[10C0:1C40][2019-03-19T13:33:42]i000: MainViewModel.OpenUrl: Opening url: C:\Users\******~1\AppData\Local\Temp\SsmsSetup\SSMS-Setup-ENU_20190319131949.log

從 SSMS-Setup-ENU_20190319134134.log (17.9.1) 中提取

[16C4:2298][2019-03-19T13:49:35]i000: MainViewModel.OnPackageActionProgress: Percent completed: 50, Overall progress: 67
[2324:1D80][2019-03-19T13:49:35]e000: Error 0x80070643: Process returned error: 0x643
[2324:1D80][2019-03-19T13:49:35]e000: Error 0x80070643: Failed to execute EXE package.
[16C4:2298][2019-03-19T13:49:35]e000: Error 0x80070643: Failed to configure per-machine EXE package.
[16C4:2298][2019-03-19T13:49:35]i000: MainViewModel.OnPackageAction: Install Completed for package Microsoft Visual Studio Tools for Applications 2015 Language Support
[16C4:2298][2019-03-19T13:49:35]i319: Applied execute package: VSTALS2015, result: 0x80070643, restart: None
[16C4:2298][2019-03-19T13:49:35]e000: Error 0x80070643: Failed to execute EXE package.
[2324:1D80][2019-03-19T13:49:35]i351: Removing cached package: VS2015KB3095681Update, from path: C:\ProgramData\Package Cache\02A26E554FBB4232ACD36E70D09F2C7893D399CD\
...
[16C4:2298][2019-03-19T13:55:14]e000: MainViewModel.OnBundleAction: Bundle action failed: Fatal error during installation (0x80070643)
[16C4:2298][2019-03-19T13:55:14]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No
[16C4:1798][2019-03-19T13:56:28]i000: MainViewModel.OpenUrl: Opening url: C:\Users\******~1\AppData\Local\Temp\SsmsSetup\SSMS-Setup-ENU_20190319134134.log

在此處輸入圖像描述

安裝程序需要幾分鐘才能到達這一點,但每次都失敗並顯示相同的結果。

我們在每次嘗試之間重新啟動了伺服器,並在最新的 Windows 更新上執行。我們在伺服器上安裝了 .NET Framework 4.5.2。所有嘗試都是使用在伺服器上具有完全管理員權限的帳戶進行的。

誰能告訴我們如何成功安裝它?

根據此處 用於 SSMS 17.9.1 安裝的MSDN BOL 文件,.NET Framework應該是4.6.1(或**greater**)。

確保您執行的是最新版本的 Visual C++ 2013 Redistributable Package。需要版本 12.0.40649.5(或更高版本)。只需要 x64 版本。並且所有最新的作業系統更新都安裝在電腦上。

如需進一步參考,請點擊此處

引用自:https://dba.stackexchange.com/questions/232591