在win 10 pro上安装新的sql server 2017失败 [英] Installation of a new sql server 2017 on a win 10 pro fails
问题描述
Hi
我正在尝试安装sql server 2017并且我一直在收到错误:
我有一个全新的胜利10 pro
这里是日志文件。
我已在管理工作室成功安装。
我不知道从哪里开始。
安装完成后需要执行功能操作。
这些功能的故障排除信息:
FullText的下一步: 使用以下信息解决错误,然后再次尝试设置过程。
sql_inst_mpy的下一步: 使用以下信息解决错误,然后再次尝试设置过程。
sql_inst_mr的下一步: 使用以下信息解决错误,然后再次尝试设置过程。
< p style ="margin-bottom:0px;填充右:0像素;自动换行:打破字;颜色:#4d4d4d; font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:14px">
AdvancedAnalytics的下一步:使用以下信息解决错误,然后再次尝试设置过程。
SQLEngine的下一步: 使用以下信息解决错误,然后再次尝试设置过程。
复制的下一步: 使用以下信息解决错误,然后再次尝试设置过程。
< p style ="margin-bottom:0px;填充右:0像素;自动换行:打破字;颜色:#4d4d4d; font-family:wf_segoe-ui_normal,'Segoe UI','Segoe WP',Tahoma,Arial,sans-serif; font-size:14px">
&NBSP;配置文件:&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\\ \\ _20171021_022911 \ConfigurationFile.ini
详细结果:
功能: 搜索的全文和语义提取
&NBSP;状态:&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;失败
失败原因: 该功能的相关性发生错误,导致该功能的设置过程失败。
下一步: 使用以下信息解决错误,然后尝试再次设置过程。
组件名称: Microsoft Visual C ++ 2015 Redistributable
组件错误代码: 1638
组件日志文件: C:\Program Files \ Microsoft Microsoft SQL Server \\\ 140 \ Setup Bootstrap \Log \ _20171021_022911 \VCRuntime140_x64_Cpu64_1.log
错误说明: VS Shell安装失败,退出代码为1638.
错误帮助链接: 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
功能: Python
状态: 失败
失败原因: 该功能的相关性发生错误,导致该功能的设置过程失败。
下一步: 使用以下信息解决错误,然后尝试再次设置过程。
组件名称: Microsoft Visual C ++ 2015 Redistributable
组件错误代码: 1638
组件日志文件: C:\Program Files \ Microsoft Microsoft SQL Server \\\ 140 \ Setup Bootstrap \Log \ _20171021_022911 \VCRuntime140_x64_Cpu64_1.log
错误说明: VS Shell安装失败,退出代码为1638.
错误帮助链接: 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
功能: R
状态: 失败
失败原因: 该功能的相关性发生错误,导致该功能的设置过程失败。
下一步: 使用以下信息解决错误,然后尝试再次设置过程。
组件名称: Microsoft Visual C ++ 2015 Redistributable
组件错误代码: 1638
组件日志文件: C:\Program Files \ Microsoft Microsoft SQL Server \\\ 140 \ Setup Bootstrap \Log \ _20171021_022911 \VCRuntime140_x64_Cpu64_1.log
错误说明: VS Shell安装失败,退出代码为1638.
错误帮助链接: 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
功能: 机器学习服务(数据库内)
&NBSP;状态:&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;失败
失败原因: 该功能的相关性发生错误,导致该功能的设置过程失败。
下一步: 使用以下信息解决错误,然后尝试再次设置过程。
组件名称: Microsoft Visual C ++ 2015 Redistributable
组件错误代码: 1638
&NBSP;组分日志文件:&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log \ _20171021_022911 \VCRuntime140_x64_Cpu64_1.log
错误说明: VS Shell安装失败,退出代码为1638.
错误帮助链接: 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 Visual C ++ 2015 Redistributable
组件错误代码: 1638
组件日志文件: C:\Program Files \ Microsoft Microsoft SQL Server \\\ 140 \ Setup Bootstrap \Log \ _20171021_022911 \VCRuntime140_x64_Cpu64_1.log
错误说明: VS Shell安装失败,退出代码为1638.
错误帮助链接: 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 Replication
&NBSP;状态:&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;失败
失败原因: 该功能的相关性发生错误,导致该功能的设置过程失败。
下一步: 使用以下信息解决错误,然后尝试再次设置过程。
组件名称: Microsoft Visual C ++ 2015 Redistributable
组件错误代码: 1638
&NBSP;组分日志文件:&NBSP;&NBSP;&NBSP;&NBSP;&NBSP;&NBSP; C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log \ _20171021_022911 \VCRuntime140_x64_Cpu64_1.log
错误说明: VS Shell安装失败,退出代码为1638.
错误帮助链接: 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
功能: Client Tools SDK
状态: 传递
功能: Client Tools Connectivity
状态: 传递
功能: 客户端工具向后兼容性
状态: 传递
失败规则:
全局规则:
场景特定规则:
规则报告文件: C:\Program Files \ MicrosoftMicrosoft SQL Server \\\ 140 \ Setup Bootstrap \\ \\ __ \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ b $ b
所有这些错误都有相同的原因/来源:"VS Shell安装失败,退出代码为1638"
以及与"Microsoft Visual C ++ 2015"相关的问题您可能已经安装的Redistributable"。
错误1638表示已安装该产品的另一个版本
* SQL Server并不真正需要  ; VS Shell,错误信息非常混乱。它需要的是VC ++(Visual C ++),你可能安装了另一个版本。
解决方案:
在开始之前,我必须说这个不推荐,因为我没有关于测试你案例的选项的完整信息。这个解决方案应该适用于大多数常见情况,但你做的任何事情都由你自己负责: - )
现在我们可以开始......
如果我没记错的话,SQL Server不需要最新版本。例如,SQL Server 2016需要适合Visual Studio 2015的VC ++版本。我认为它与SQL 2017相同。
因此,选项1 (我的首选)是尝试删除VC ++并首先安装SQL Server。接下来,您可以根据需要安装最新版本。
选项2 是尝试手动下载并安装VC ++ for 2015并检查是否有问题。
在此链接中,您可以获得有关下载不同版本的信息:
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual -c-downloads
我提醒您在开始之前备份系统,并确保不对生产进行测试。
>
Hi
I'm trying to install sql server 2017 and I'm keep getting errors:
I have a brand new win 10 pro
here is the log file.
I already installed successfully in managment studio.
i don't know where to start.
Setup completed with required actions for features.
Troubleshooting information for those features:
Next step for FullText: Use the following information to resolve the error, and then try the setup process again.
Next step for sql_inst_mpy: Use the following information to resolve the error, and then try the setup process again.
Next step for sql_inst_mr: Use the following information to resolve the error, and then try the setup process again.
Next step for AdvancedAnalytics: Use the following information to resolve the error, and then try the setup process again.
Next step for SQLEngine: Use the following information to resolve the error, and then try the setup process again.
Next step for Replication: Use the following information to resolve the error, and then try the setup process again.
Configuration file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20171021_022911\ConfigurationFile.ini
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\20171021_022911\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: Python
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\20171021_022911\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: R
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\20171021_022911\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: Machine Learning Services (In-Database)
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\20171021_022911\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\20171021_022911\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: SQL Server Replication
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\20171021_022911\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: Client Tools SDK
Status: Passed
Feature: Client Tools Connectivity
Status: Passed
Feature: Client Tools Backwards Compatibility
Status: Passed
Rules with failures:
Global rules:
Scenario specific rules:
Rules report file: C:\Program Files\Microsoft SQL Server\140\Setup Bootstrap\Log\20171021_022911\SystemConfigurationCheck_Report.htm
Good day Avi,
All these errors have the same cause/source: "VS Shell installation has failed with exit code 1638"
and the issue related to "Microsoft Visual C++ 2015 Redistributable", which you probably have installed already.
Error 1638 means another version of the product is already installed
* SQL Server does not really need VS Shell, and the error message is very confusing. What it does need is the VC++ (Visual C++), and you probably have another version installed.
Solution:
Before I start, I must say that this is not recommendation since I don't have full information on option to test you case. This is solution should fit for most common cases, but anything you do is on your own responsibility :-)
Now we can start...
SQL Server does not need the latest version if I remember correctly. SQL Server 2016 for example need VC++ version that fit Visual Studio 2015. I think it is the same with SQL 2017.
Therefore, option 1 (my preferred) is to try to remove VC++ and install SQL Server first. Next you can install the latest version if needed.
Option 2 is to try to download and install VC++ for 2015 manually as it is and check if there is issue.
In this link you can get information about download the different versions:
https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloadsI remind you to backup the system before you start and make sure you do not test on production.
这篇关于在win 10 pro上安装新的sql server 2017失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!