SQL Server 2017 Express安装失败

Sam*_*Sam 17 sql-server failed-installation

我试图在Windows 10上安装SQL Server 2017 Express并且它失败了.

以下是失败后的详细信息:

Action required:
Use the following information to resolve the error, and then try the setup process again.

Feature failure reason:
An error occurred for a dependency of the feature causing the setup process for the feature to fail.

Error details:
§ Error installing Microsoft Visual C++ 2015 Redistributable
VS Shell installation has failed with exit code 1638.
Error code: 1638
Log file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20171018_083459\VCRuntime140_x64_Cpu64_1.log
Visithttps://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=VCRuntime140_x64%40Install%400x1638 to get help on troubleshooting.
Run Code Online (Sandbox Code Playgroud)

我是Windows 10并安装了Visual Studio 2017.我想问题可能是我在安装SQL Server之前安装了SQL Server Management Studio 2017.

我在家里有相同的设置,但我先安装SQL Server然后安装SSMS,一切正常.

另一个不同之处在于安装对话框中的主页,它说明了C++ Redistribuble已经安装的影响,但是在失败的工作中它表示它将被安装在组件的hte列表中.

小智 29

问题可能是有一个比SQL Server试图安装的Visual C++ Redistributable更新版本,例如,从Visual Studio 2017安装.如果你不需要最新的C++可再发行组件,那么解决这个问题的另一种方法就是去添加或删除程序并卸载对Visual C++ 2017 Redistributable的所有引用.在此之后,SQL Server安装应该没有错误地继续.

  • 谢谢Luc,这对我很有帮助. (2认同)
  • 谢谢,这对我也有用.太痛苦了!我在SQL Server 2017安装之前安装了VS 2017并修复了它.谢谢 (2认同)

bab*_*idi 9

我之前遇到过这个错误(使用Win10 x64):

转到控制面板 - >选择程序 - > 程序和功能 - >搜索" c ++ " - >在列表中选择Visual C++ 2017(或您的版本错误)Redistributable - >右键单击选择" 更改 " - >选择修复.

之后,我能够继续并成功安装SQL Server Express 2017.

注意: 有些需要卸载并重新安装,因此如果上述过程不起作用,请尝试重新安装.


Sam*_*Sam 7

我想出了我的环境.如果您有Visual Studio 2017,请返回安装程序并安装"ATL C++"工作负载.现在,当您完成SQL Server 2017安装时,它将说已经安装了C++并且安装将成功.

  • Sql Server 2017与VS 2017不兼容.MS的愚蠢永远不会让我感到惊讶. (4认同)