我尝试在 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.
我是 Windows 10 并安装了 Visual Studio 2017。
我认为问题可能是我在安装 SQL Server 之前安装了 SQL Server Management Studio 2017。
我家里有相同的设置,但我先安装了 SQL Server,然后安装了 SSMS,一切正常。
另一个区别是在家里的安装对话框中,它显示了 C++ Redistribuble 已安装的影响,但在工作中失败时,它显示它将安装在组件列表中。
问题很可能是比 SQL Server 尝试安装的 Visual C++ Redistributable 版本更新,例如,来自 Visual Studio 2017。因此,如果您不需要最新的 C++ Redistributable,则解决此问题的另一种方法是:添加或删除程序并卸载对 Visual C++ 2017 Redistributable 的所有引用。此后,SQL Server 安装应该继续进行,不会出现错误。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)