An error occurred for a dependency of the feature causing the setup process for the feature to fail (SQL Server 2019)

An error occurred for a dependency of the feature causing the setup process for the feature to fail (SQL Server 2019)

An error occurred for a dependency of the feature causing the setup process for the feature to fail (SQL Server 2019)

This short tip is about how to handle the following error message, in case you get it when you install SQL Server 2019 CTP or RC: An error occurred for a dependency of the feature causing the setup process for the feature to fail.

How to Resolve the Issue

What you can try for resolving the issue, is to copy the below msi files from the SQL Server 2019 installation media onto a temporary folder on a local drive on your machine (i.e. c:\temp).

  • <Mounted-ISO-Drive>\1033_ENU_LP\x64\Setup\x64
    • sqlncli
    • msoledbsql
    • msodbcsql

After you copy the above files, run each one of them and when prompted to select one of the “Modify”, “Repair” or “Delete” options, choose the “Modify” option (see below example for msodbcsql).

Then make sure that you chose all components to be installed on the local hard drive:

An error occurred for a dependency of the feature causing the setup process for the feature to fail (SQL Server 2019)

After you complete the installation of sqlncli, msoledbsql and msodbcsql, restart the computer and try again to install SQL Server 2019.

Hope that helps!

In my case, this worked like a charm!

 

Check my Online Courses

SQL Server 2019: What’s New

SQL Server 2019: What's New? - Online Course by Artemakis Artemiou
Learn about all major new features and enhancements in SQL Server 2019 and see many live demonstrations (learn more…).

Enroll to this course on Udemy

 

Enroll to this course on Skillshare

 

 

SQL Server Fundamentals (Complete Beginners Guide)

SQL Server Fundamentals - Online Course by Artemakis Artemiou - SQL Database for Beginners
The complete beginners guide that helps you get started with SQL Server, SSMS and Azure Data Studio fast and easy! (learn more…)

Enroll to this course on Udemy

 

Read Also:

Feel free to check our other relevant articles on SQL Server troubleshooting:

 

Subscribe to our newsletter and stay up to date!

Check out our latest software releases!

Check out Artemakis’s eBooks!

 

Rate this article: 1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5.00 out of 5)

Loading...

Reference: SQLNetHub.com (https://www.sqlnethub.com)

© SQLNetHub

Artemakis Artemiou
Artemakis Artemiou is a Senior SQL Server Architect, Author, and a 9 Times Microsoft Data Platform MVP (2009-2018). He has over 15 years of experience in the IT industry in various roles. Artemakis is the founder of SQLNetHub and TechHowTos.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). Artemakis's official website can be found at aartemiou.com.