TITLE: Microsoft sql Server 2017 Setup ------------------------------ The following error has occurred: VS Shell installation has Failed with exit code 1638. For help,click: https://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20sql%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=14.0.1000.169&EvtType=0x5B39C8B9%25401434%25403 ------------------------------ BUTTONS: OK ------------------------------
这是一台新的笔记本电脑运行
> sql Server 2016快递
> Visual Studio 2017
> SSMS 2017
我尝试卸载与sql Server或Visual Studio相关的任何内容.
日志:[3500:3970] [2017-11-03T16:25:20] e000:错误0x80070666:安装较新版本时无法安装产品.
Detailed results: Feature: Full-Text and Semantic Extractions for Search Status: Failed Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail. Next Step: Use the following information to resolve the error,and then try the setup process again. Component name: Microsoft Visual C++ 2015 Redistributable Component error code: 1638 Component log file: C:\Program Files\Microsoft sql Server\140\Setup Bootstrap\Log\20171103_162358\VCRuntime140_x64_cpu64_1.log Error description: VS Shell installation has Failed with exit code 1638. Error help link: https://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 Feature: Database Engine Services Status: Failed Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail. Next Step: Use the following information to resolve the error,and then try the setup process again. Component name: Microsoft Visual C++ 2015 Redistributable Component error code: 1638 Component log file: C:\Program Files\Microsoft sql Server\140\Setup Bootstrap\Log\20171103_162358\VCRuntime140_x64_cpu64_1.log Error description: VS Shell installation has Failed with exit code 1638. Error help link: https://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
解决方法
这个Microsoft Support article提供了他们对问题的解释,以及他们推荐的解决方法.
解决方案1:在安装Visual Studio 2017之前先安装sql Server.
解决方案2(我做了什么):
>卸载Microsoft Visual C 2017可再发行组件(x86)和(x64),
>安装sql Server,
>然后重新安装Microsoft Visual C 2017 Redistributable(x86)和(x64).
它们有点难找,所以这里是直接链接:
X64:https://go.microsoft.com/fwlink/?LinkId=746572
x86:https://go.microsoft.com/fwlink/?LinkId=746571
注意:如果您根本没有安装Microsoft Visual C 2017 Redistributable,只需从上述链接之一安装它,然后重试安装sql Server.它现在应该工作.
安装sql Server 2017的其他命名实例时,可能必须重复这些步骤.
原文地址:https://www.jb51.cc/mssql/79641.html
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。