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.
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.
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.
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
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about how to install DQS, go to the following MSDN website: