SQL安装挂在Windows 10上

Stu*_*nar 4 sql-server sql-server-2008 sql

我已经尝试安装了我能得到的每个版本的 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"
Run Code Online (Sandbox Code Playgroud)

想法?

闲逛...

小智 9

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

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

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

taskkill /f /fi "imagename eq msiexec.exe" 
Run Code Online (Sandbox Code Playgroud)

然后,安装程序就可以继续安装的下一部分。