25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

25% off on first invoice for all services*

SPRING SALE

Use coupon

*Offer valid for new customers only

Need help?

Our experts have had an average response time of 11.43 minutes in March 2024 to fix urgent issues.

We will keep your servers stable, secure, and fast at all times for one fixed price.

An error occurred for a dependency of the feature causing the setup process for the feature to fail

by | Nov 10, 2020

The error ‘An error occurred for a dependency of the feature causing the setup process for the feature to fail’ occurs while installing SQL server 2019 from a mounted ISO file.

Here at Bobcares, we have seen several such SQL related issues as part of our Server Management Services for web hosts and online service providers.

Today we’ll take a look at the cause for this error and see how to fix it.

 

How we fix the error ‘An error occurred for a dependency of the feature causing the setup process for the feature to fail.’

Let’s see how our Support Engineers help our customers in resolving this error message.

1. You can 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).

\1033_ENU_LP\x64\Setup\x64
sqlncli
msoledbsql
msodbcsql

Once you complete copying 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.

Then ensure that you choose all components to be installed on the local hard drive.

Once the installation of sqlncli, msoledbsql and msodbcsql completes, restart the computer and try again to install SQL Server 2019.

2. Uninstall Old Versions of SQL Server Management Studio (SSMS)

Try uninstalling any versions of SSMS that are older than v18.3.1. Then restart the computer and try again to install SQL Server 2019.

3. Uninstall SQL Server 2012 Native Client

Normally, SQL Server 2012 Native Client gets installed along with SSMS. So, uninstall it, restart the computer and try again to install SQL Server 2019.

4. Copy all files from the installation media (i.e. from the mounted ISO file) to a temporary folder on your computer’s local drive. After that, launch SQL Server 2019 installation from your local drive and try again to install it.

5. Uninstall improperly installed SQL server and then try to install the SQL server once more.

Before uninstalling the current installation, ensure to follow the below steps:

1. Back up the data.

Make sure that you save the following database files:

master.mdf
msdbdata.mdf
Tempdb.mdf
mastlog.ldf
msdblog.ldf
Templog.ldf
model.mdf
Mssqlsystemresource.mdf
ReportServer[$InstanceName]
modellog.ldf
Mssqlsustemresource.ldf
ReportServer[$InstanceName]TempDB

2. Stop all the SQL Server services.

3. Use an account that has the appropriate permissions.

Follow the below steps to uninstall SQL Server from Windows 10, Windows Server 2016, Windows Server 2019, and greater.

  1. First, navigate to Settings from the Start menu and then choose Apps.
  2. Next, search for SQL in the search box.
  3. Then select Microsoft SQL Server (Version) (Bit). For example, Microsoft SQL Server 2017 (64-bit).
  4. Now select Uninstall.
  5. Select Remove on the SQL Server dialog pop-up to launch the Microsoft SQL Server Installation wizard.
  6. On the Select Instance page, use the drop-down box to specify an instance of SQL Server to remove or specify the option to remove only the SQL Server shared features and management tools. Then continue by selecting Next.
  7. On the Select Features page, specify the features to remove from the specified instance of SQL Server.
  8. On the Ready to Remove page, review the list of components and features that you wish to uninstall. Then to begin the uninstalling process click Remove.
  9. Refresh the Apps and Features window to verify the SQL Server instance has been successfully removed, and determine which, if any, SQL Server components still exist. Remove these components from this window as well, if you choose to.

[Need any assistance in fixing SQL errors? – We’ll help you]

 

Conclusion

In short, this error occurs while installing the SQL server 2019 from a mounted ISO file. Today, we saw the fix provided by our Support Engineers.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

1 Comment

  1. Hamze Lue

    Oh My God
    Hi
    Thank you for publishing this post.
    It saved my life and time.
    Ultimately helpful.

    Reply

Submit a Comment

Your email address will not be published. Required fields are marked *

Categories

Tags

Privacy Preference Center

Necessary

Necessary cookies help make a website usable by enabling basic functions like page navigation and access to secure areas of the website. The website cannot function properly without these cookies.

PHPSESSID - Preserves user session state across page requests.

gdpr[consent_types] - Used to store user consents.

gdpr[allowed_cookies] - Used to store user allowed cookies.

PHPSESSID, gdpr[consent_types], gdpr[allowed_cookies]
PHPSESSID
WHMCSpKDlPzh2chML

Statistics

Statistic cookies help website owners to understand how visitors interact with websites by collecting and reporting information anonymously.

_ga - Preserves user session state across page requests.

_gat - Used by Google Analytics to throttle request rate

_gid - Registers a unique ID that is used to generate statistical data on how you use the website.

smartlookCookie - Used to collect user device and location information of the site visitors to improve the websites User Experience.

_ga, _gat, _gid
_ga, _gat, _gid
smartlookCookie
_clck, _clsk, CLID, ANONCHK, MR, MUID, SM

Marketing

Marketing cookies are used to track visitors across websites. The intention is to display ads that are relevant and engaging for the individual user and thereby more valuable for publishers and third party advertisers.

IDE - Used by Google DoubleClick to register and report the website user's actions after viewing or clicking one of the advertiser's ads with the purpose of measuring the efficacy of an ad and to present targeted ads to the user.

test_cookie - Used to check if the user's browser supports cookies.

1P_JAR - Google cookie. These cookies are used to collect website statistics and track conversion rates.

NID - Registers a unique ID that identifies a returning user's device. The ID is used for serving ads that are most relevant to the user.

DV - Google ad personalisation

IDE, test_cookie, 1P_JAR, NID, DV, NID
IDE, test_cookie
1P_JAR, NID, DV
NID
hblid

Security

These are essential site cookies, used by the google reCAPTCHA. These cookies use an unique identifier to verify if a visitor is human or a bot.

SID, APISID, HSID, NID, PREF
SID, APISID, HSID, NID, PREF