Microsoft distributes Microsoft SQL Server 2012 fixes as one downloadable file. Because the fixes are cumulative, each new release contains all the hotfixes and all the security fixes that were included with the previous SQL Server 2012 fix release.

Symptoms

When you try to install the SQL Server Data Quality Services (DQS) feature on a computer that has Microsoft SQL Server 2012 installed, the DQS installation fails. Additionally, you receive the following error message:

Msg 15240, Level 16, State 2, Server Server Name, Line 1
Cannot write into file 'dqs_certificate.cer'. Verify that you have write permissions, that the file path is valid, and that the file does not already exist.


This issue occurs when the following conditions are true:

  • The DQS installation path differs from the installation path of the instance of SQL Server.

  • A dqs_certificate.cer file already exists in the DQS installation path.

    Note This file may already exist if a previous installation attempt failed.

Cause

This issue occurs because DQSInstaller.exe uses the file path of the master database .mdf file when it tries to delete the dqs_certificate.cer file during the installation process. This operation will fail if the DQS installation path differs from the installation path of the instance of SQL Server.

Resolution

Service pack information for SQL Server 2012

To resolve this problem, obtain the latest service pack for SQL Server 2012. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

2755533 How to obtain the latest service pack for SQL Server 2012

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information

For more information about how to install DQS, go to the following MSDN website:

How to install Data Quality ServicesFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×