SQL Server 2017 Developer on Windows SQL Server 2017 Enterprise on Windows SQL Server 2017 Enterprise Core on Windows SQL Server 2017 Standard on Windows SQL Server 2016 Еще…Меньше
Проблемы
Предположим, Microsoft Visual C++ 2015 redistributable установлен на сервере. При попытке установить на сервере более раннюю версию выводится следующее сообщение об ошибке:
Компонент: ядро СУБД Services
Состояние: сбой
Причина сбоя: произошла ошибка зависимости компонента, которая приводила к сбою процесса установки компонента.
Следующий шаг. Используйте следующие сведения, чтобы устранить ошибку, а затем повторите попытку установки.
Имя компонента: Microsoft Visual C++ 2015
Код ошибки компонента: 1638
Файл журнала компонентов: FilePathVCRuntime140_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%400×1638
Решение
Эта проблема устранена в следующих накопительных обновлениях для SQL Server:
Накопительный пакет обновления 13 для SQL Server 2017
Накопительный пакет обновления 16 для SQL Server 2016 с пакетом обновления 2 (SP2)
Обходное решение
Чтобы устранить эту проблему, воспользуйтесь следующими обходными путями:
-
Исправьте 64-разрядную версию распространяемого компонента Microsoft Visual C++ 2015 с помощью функции Установка и удаление программ, выполнив следующие шаги:
-
Откройте компонент Установка и удаление программ.
-
Найдите Распространяемый пакет Microsoft Visual C++ 2015 (x64) и выберите его. Нажмите кнопку Изменить.
-
Нажмите кнопку Исправить.
-
-
Если данная проблема возникнет при установке TFS, можно запустить файл VC_redist.x64.exe из файлов установки TFS, а затем выбрать Исправить.
-
Воспользуйтесь обходными путями в следующих документах:
-
SQL SERVER — исправление: ошибка — сбой установки оболочки VS с кодом выхода 1638
-
Справка по установке SQL Server 2017 — сбой установки VS Shell с кодом выхода 1638
-
Нужна дополнительная помощь?
Нужны дополнительные параметры?
Изучите преимущества подписки, просмотрите учебные курсы, узнайте, как защитить свое устройство и т. д.
В сообществах можно задавать вопросы и отвечать на них, отправлять отзывы и консультироваться с экспертами разных профилей.
- Remove From My Forums
-
Question
-
Detail:
(01) 2017-10-19 02:14:41 Slp: Log provider ‘Microsoft.SqlServer.Chainer.Infrastructure.LogProviderFile’ has been registered
(01) 2017-10-19 02:14:41 Slp: Log provider ‘Microsoft.SqlServer.Chainer.Infrastructure.LogProviderConsole’ has been registered
(01) 2017-10-19 02:14:41 Slp: Log provider ‘Microsoft.SqlServer.Chainer.Infrastructure.LogProviderStatus’ has been registered
(01) 2017-10-19 02:14:41 Slp: Reading XML resource ‘Microsoft.SQL.Chainer.PackageData.Package.xml’
(01) 2017-10-19 02:14:41 Slp: Reading schema resource ‘Microsoft.SQL.Chainer.Package.Package.xsd’
(01) 2017-10-19 02:14:41 Slp: Document ‘Microsoft.SQL.Chainer.PackageData.Package.xml’ validated with schema ‘Microsoft.SQL.Chainer.Package.Package.xsd’ has been successfuly loaded into datastore path ‘/Datastore/Package’
(01) 2017-10-19 02:14:41 Slp: ———————————————————————-
(01) 2017-10-19 02:14:41 Slp: Running Action: ReadProductXML
(01) 2017-10-19 02:14:41 Slp: Reading XML resource ‘Microsoft.SQL.Chainer.Product.Product.xml’
(01) 2017-10-19 02:14:41 Slp: Document ‘Microsoft.SQL.Chainer.Product.Product.xml’ validated with schema ‘Microsoft.SQL.Chainer.Product.Product.xsd’ has been successfuly loaded into datastore path ‘/Datastore/Product’
(01) 2017-10-19 02:14:41 Slp: Completed Action: ReadProductXML, returned True
(01) 2017-10-19 02:14:41 Slp: ———————————————————————-
(01) 2017-10-19 02:14:41 Slp: Running Action: LoadExtensions
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘MSI’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.MsiExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘MSI’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘Config’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.ConfigExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘Config’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘Common’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Chainer.ExtensionCommon.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘Common’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘SqlConfigBase’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.SqlConfigBase.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘SqlConfigBase’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘Slp’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.SetupExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘Slp’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘RulesEngine’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.RulesEngineExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘RulesEngine’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘WorkflowData’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Chainer.WorkflowData.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘WorkflowData’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘SlpConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.SlpExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘SlpConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘Clst’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.Cluster.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘Clst’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘AgentConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.AgentExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘AgentConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘SqlPowershellConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.PowershellExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘SqlPowershellConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘SSISConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.SSISExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘SSISConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘ISMasterConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.ISMasterExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘ISMasterConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘ISWorkerConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.ISWorkerExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘ISWorkerConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘DReplayConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.DistributedReplayExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘DReplayConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘ASConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.ASExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘ASConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘ReplConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.Repl_ConfigExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘ReplConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘ManagementToolsConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.ManagementToolsExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘ManagementToolsConfig’ version ‘14.0.1000.169’ loaded
(01) 2017-10-19 02:14:42 Slp: Loading extension ‘ManagementToolsAdvancedConfig’ from file ‘C:Program FilesMicrosoft SQL Server140Setup BootstrapSQL2017x64.Microsoft.SqlServer.Configuration.ManagementToolsExtension.dll’
(01) 2017-10-19 02:14:42 Slp: Extension ‘ManagementToolsAdvancedConfig’ version ‘14.0.1000.169’ loaded-
Moved by
Thursday, October 19, 2017 2:31 AM
-
Moved by
I have received the following error while installing MSSQL 2017 on Windows 2012 R2.
vs shell installation has failed with exit code 1638
asked May 25, 2018 at 8:59
Hiren ParghiHiren Parghi
1,7951 gold badge20 silver badges30 bronze badges
2
You must install SQL Server first before installing Visual Studio 2017.
If you have already installed Visual Studio 2017, do not worry, just follow the steps below:
Uninstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64)
Then install SQL Server.
Do not forget to select «Database Engine Services«
Change «Startup Type» of SQL Server Browser from «Disabled» to «Automatic«
The installation will be done without any problems:
Then reinstall the Microsoft Visual C++ 2017 Redistributable (x86) and (x64)
answered Aug 7, 2018 at 17:52
This Error means
1-Another version of this program is already installed
2-Visual Studio 2017 Is In Installing Level And Not Complete
3-Visual Studio 2017 installed (Not For All)
If You Have Other Version . Remove Or Update The SSMS.
If Your Visual Studio In Installing Level. Wait To Complete And Then Try To Setup
Else
To fix the issue, use the following workarounds:
Repair the x64 version of Microsoft Visual C++ 2017 Redistributable from Add or remove programs by using following steps:
Open Add or remove programs.
Find and select Microsoft Visual C++ 2017 Redistributable (x64). Click the Change button.
Click the Repair button.
If you encounter this issue when installing TFS, you can start VC_redist.x64.exe from the TFS installation files, and then select repair.
Hope This Help You To Fix
Microsoft Support Article
answered Nov 28, 2018 at 8:21
Do you have Visual Studio 2017 installed in your computer? If so, try uninstalling it, then install SQL Server, and reinstall Visual Studio. I had the same problem today when installing MSSQL 2017, and solved it like that.
I read in some sites you can also try only uninstalling Microsoft Visual C++ 2017 Redistributable (86x) and (64x), but I didn’t try this solution, so I’m not sure if it works. It’s still worth a shot though, as it’s easier than uninstalling the whole Visual Studio.
answered Jul 2, 2018 at 3:23
1
Any suggestions on how to deal with this error:
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
------------------------------
This is a new laptop running
- SQL Server 2016 express
- Visual Studio 2017
- SSMS 2017
I tried uninstalling anything related to SQL Server or Visual Studio.
Log: [3500:3970][2017-11-03T16:25:20]e000: Error 0x80070666: Cannot install a product when a newer version is installed.
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
This post provides a fix suggestion for the error message “VS Shell Installation has Failed with Exit Code 1638“, when trying to install SQL Server 2016 features on a Windows Server.
When you Might Get this Error?
You might get the “VS Shell Installation has Failed with Exit Code 1638” error message when trying to install specific SQL Server 2016 features on a Windows Server.
For example, you might get this error, when trying to install SQL Server Integration Services (SSIS) on a Windows Server.
Why you Might Get this Error?
The reason for getting this error is because, certain SQL Server 2016 features, in our example SSIS, have as a prerequisite “Visual C++ Redistributable for Visual Studio 2015”.
So, if you don’t have these redistributables (x86 and/or x64) on the specific server, that’s why you get the “VS Shell Installation has Failed with Exit Code 1638” error message.
How to Resolve the Issue
The above issue, can be easily resolved, by installing “Visual C++ Redistributable for Visual Studio 2015” (you can get it from here).
If however you already have a higher version of the Visual C++ Redistributable installed, for example Visual C++ Redistributable for Visual Studio 2017, you will have to uninstall this first in order to be able to install the 2015 version and after that, you can re-install the 2017 version as well.
So the workflow for fixing the specific issue would be:
- Uninstall Visual C++ Redistributable for Visual Studio 2017 (if installed)
- Install Visual C++ Redistributable for Visual Studio 2015 (x86 and/or x64 or both – you can get it from here)
- Re-install Visual C++ Redistributable for Visual Studio 2017 (if was installed in the first place – you can get it from here)
- Try again to install the SQL Server 2016 feature that you are trying to install
Note: Under certain circumstances, a restart might be required.
Strengthen your SQL Server Administration Skills – Enroll to our Online Course!
Check our online course on Udemy titled “Essential SQL Server Administration Tips” (special limited-time discount included in link).
Via the course, you will learn essential hands-on SQL Server Administration tips on SQL Server maintenance, security, performance, integration, error handling and more. Many live demonstrations and downloadable resources included!
Enroll from $12.99
Featured Online Courses:
- Boost SQL Server Database Performance with In-Memory OLTP
- Essential SQL Server Administration Tips
- SQL Server Fundamentals – SQL Database for Beginners
- Essential SQL Server Development Tips for SQL Developers
- Introduction to Computer Programming for Beginners
- .NET Programming for Beginners – Windows Forms with C#
- Introduction to SQL Server Machine Learning Services
- Introduction to Azure SQL Database for Beginners
- SQL Server 2019: What’s New – New and Enhanced Features
- Entity Framework: Getting Started – Complete Beginners Guide
- How to Import and Export Data in SQL Server Databases
- Learn How to Install and Start Using SQL Server in 30 Mins
- A Guide on How to Start and Monetize a Successful Blog
Read Also:
- SQL Server Installation and Setup Best Practices
- The TempDB System Database in SQL Server
- Where are temporary tables stored in SQL Server?
- SQL Server 2016: TempDB Enhancements
- tempdb growth
- Introduction to SQL Server Machine Learning Services
- Essential SQL Server Administration Tips
- …more
Subscribe to our newsletter and stay up to date!
Subscribe to our YouTube channel (SQLNetHub TV)
Easily generate snippets with Snippets Generator!
Secure your databases using DBA Security Advisor!
Generate dynamic T-SQL scripts with Dynamic SQL Generator!
Check our latest software releases!
Check our eBooks!
Rate this article: 
Loading…
Reference: SQLNetHub.com (https://www.sqlnethub.com)
© SQLNetHub
Artemakis Artemiou is a Senior SQL Server Architect, Author, a 9 Times Microsoft Data Platform MVP (2009-2018). He has over 20 years of experience in the IT industry in various roles. Artemakis is the founder of SQLNetHub and {essentialDevTips.com}. Artemakis is the creator of the well-known software tools Snippets Generator and DBA Security Advisor. Also, he is the author of many eBooks on SQL Server. Artemakis currently serves as the President of the Cyprus .NET User Group (CDNUG) and the International .NET Association Country Leader for Cyprus (INETA). Moreover, Artemakis teaches on Udemy, you can check his courses here.
Views: 8,937






