FIX: Error when you complete an SSAS 2014 image after specifying a non-default root directory

Symptoms

Assume that you install Microsoft SQL Server 2014 Analysis Services (SSAS 2014) by using SysPrep in order to prepare a stand-alone instance (the Prepare Image step). During the configuration of the instance (the Complete Image step), you set a non-default root directory, such as D:\. In this situation, when you try to complete the image, you receive the following error message:
Inner exception type: System.IO.FileNotFoundException
Message:
  <Disk Name>:\Program Files\Microsoft SQL Server\MSAS12.SYSPREPSQL\OLAP\bin\Counters\msmdctr.ini
HResult : 0x80070002
Stack:
Microsoft.SqlServer.Configuration.Sco.PerformanceCounter.RegisterPerformanceCounterCore(String libraryFileName, String openFunction, String collectionFunction, String closeFunction, String symbolInstallPath, String counterPrefixServiceName)
Microsoft.SqlServer.Configuration.Sco.PerformanceCounter.RegisterPerformanceCounter(String libraryFileName, String openFunction, String collectionFunction, String closeFunction, String symbolInstallPath, String counterPrefixServiceName)

Resolution

The issue was first fixed in the following cumulative update of SQL Server.

Cumulative Update 3 for SQL Server 2014

About cumulative updates for SQL Server

More Information

For more information about installing SQL Server 2014 by using SysPrep, go to the following MSDN site: 
Install SQL Server 2014 Using SysPrep

Workaround

To work around this issue, copy the "Counters" folder from the root directory where the image is installed to the default root directory, and then start the wizard again.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
Właściwości

Identyfikator artykułu: 2975434 — ostatni przegląd: 14.03.2016 — zmiana: 1

Opinia