SQL 安装在 Windows 10 上挂起

SQL 安装在 Windows 10 上挂起

我已经尝试安装每一个我可以获得的 SQL Express 版本(并且我已经获得了 MSDN SQL 2016 CTP 2)。

一切都悬而未决,并且总是停留在这一点上。

我感觉这是一个与 .net 相关的问题,因为 Vs2010 也挂起了。

日志尾端

(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\Microsoft SQL Server\RefCount\sql_common_core13
(01) 2015-08-26 18:54:58 Slp: Sco: File 'D:\x64\setup\sql_common_core_msi\x64\sql_common_core.msi' does not exist
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to open registry subkey 
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to open registry subkey SOFTWARE\Microsoft\VisualStudio\14.0
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to get registry value InstallDir
(01) 2015-08-26 18:54:58 Slp: Sco: File 'D:\x64\setup\sql_common_core_msi\x64\sql_common_core.msi' does not exist
(01) 2015-08-26 18:54:58 Slp: Sco: File 'D:\x64\setup\sql_common_core_msi\x64\sql_common_core.msi' does not exist
(01) 2015-08-26 18:54:58 Slp: Checkpoint: PREINSTALL_SQL_COMMON_CORE_CPU64_ACTION
(01) 2015-08-26 18:54:58 Slp: Sco: Waiting for service 'msiserver' to accept the stop request.
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to open SC Manager
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to open service handle for service msiserver
(01) 2015-08-26 18:54:58 Slp: Invoking QueryServiceStatus Win32 API
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to close service handle for service msiserver
(01) 2015-08-26 18:54:58 Slp: Sco: Attempting to close SC Manager
(01) 2015-08-26 18:54:58 Slp: Target package: "D:\x64\setup\sql_common_core_msi\sql_common_core.msi"

有什么想法吗?

闲逛...

答案1

我在使用 SQL Server 2019 时遇到了这个问题。其中的关键部分是:

Sco:等待服务“msiserver”接受停止请求。

我设法通过在提升的 powershell 窗口中运行来强制它停止

taskkill /f /fi "imagename eq msiexec.exe" 

这使得安装程序能够继续安装的下一部分。

相关内容