Categories: SQL Server

Error Installing SQL Server 2017

A quick blog post on an error I got when installing SQL Server 2017 RTM. I ran the set-up for the usual features (database engine, SSAS, SSIS, SSRS and MDS), but the installation failed for the database engine and SSIS. During the set-up, I received two pop-ups notifying that something was wrong. A quick look into the set-up log revealed it was the Microsoft Visual C++ 2015 Redistributable feature that was causing the trouble:

Looking at the specific log, the following error was shown:

Error 0x80070666: Cannot install a product when a newer version is installed.

Indeed, there was a newer version installed: the 2017 package. I had already installed the latest version of SSMS (17.3) and SSDT for Visual Studio 2017 and one of those had probably already installed the 2017 redistributable. The official documentation states that installation of the 2015 (or later) will fail if a newer version is already installed. However, it also says it’s easy to discover if a newer version has already been installed (using the registry). So the SQL Server 2017 set-up should have been able to work around this issue. But it didn’t. So how do we solve this?

  1. Uninstall the 2017 redistributable.
  2. Install the 2015 redistributable.
  3. Re-install the 2017 redistributable.
  4. Install SQL Server 2017.

Installation still gave me a pop-up something was wrong; the set-up probably still found that there was a newer version installed (either the 2017 one, or a more recent version of the 2015 one), but now it continued with the set-up. You can probably avoid this by installing SQL Server 2017 first (which will install the 2015 redistributable) and then re-install the 2017 redistributable.

The weird thing is, when I checked the installed programs in the control panel, the 2015 redistributable isn’t listed anymore.

Anyhow, it works. There’s also a Connect item for this bug (which is already around since RC2), so if you would upvote it, that would be nice.


------------------------------------------------
Do you like this blog post? You can thank me by buying me a beer 🙂
Koen Verbeeck

Koen Verbeeck is a Microsoft Business Intelligence consultant at AE, helping clients to get insight in their data. Koen has a comprehensive knowledge of the SQL Server BI stack, with a particular love for Integration Services. He's also a speaker at various conferences.

View Comments

  • This is nothing
    There is NO in-place upgrade path for SSRS 2017
    Republish Everything from Projects....thats going to take while
    Fail MS

Recent Posts

Free webinar – Tackling the Gaps and Islands Problem with T-SQL Window Functions

I'm hosting a free webinar at MSSQLTips.com at the 19th of December 2024, 6PM UTC.…

6 days ago

dataMinds Connect 2024 – Session Materials

The slides and scripts for my session "Tackling the Gaps & Islands Problem with T-SQL…

4 weeks ago

Connect to Power BI as a Guest User in another Tenant

Sometimes your Microsoft Entra ID account (formerly known as Azure Active Directory) is added as…

2 months ago

How to use a Script Activity in ADF as a Lookup

In Azure Data Factory (ADF, but also Synapse Pipelines and Fabric Pipelines), you have a…

4 months ago

Database Build Error – Incorrect syntax near DISTINCT

I wrote a piece of SQL that had some new T-SQL syntax in it: IS…

4 months ago

Speaking at dataMinds Connect 2024

I'm very excited to announce I've been selected as a speaker for dataMinds Connect 2024,…

5 months ago