加入收藏 | 设为首页 | 会员中心 | 我要投稿 云计算网_泰州站长网 (http://www.0523zz.com/)- 视觉智能、AI应用、CDN、行业物联网、智能数字人!
当前位置: 首页 > 站长学院 > MsSql教程 > 正文

sql-server – 帮助安装SQL Server 2017 – VS Shell安装失败,退

发布时间:2021-05-26 01:47:02 所属栏目:MsSql教程 来源:网络整理
导读:有关如何处理此错误的任何建议: 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?Link

有关如何处理此错误的任何建议:

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 FilesMicrosoft SQL Server140Setup BootstrapLog20171103_162358VCRuntime140_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 FilesMicrosoft SQL Server140Setup BootstrapLog20171103_162358VCRuntime140_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

解决方法

我在使用SQL Server 2017 Developer时遇到了这个问题,看起来只是SQL Server安装包人员的计划不好.问题是Visual Studio 2017安装Microsoft Visual C 2017可再发行组件(x86)和(x64)并且SQL Server安装尝试安装Microsoft Visual C 2015 Redistributables,但它不能,因为SQL Server安装不允许您是否安装了安装了较新版本的旧版本.

这个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的其他命名实例时,可能必须重复这些步骤.

(编辑:云计算网_泰州站长网)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读