Microsoft KB Archive/933945

= Issues that you may encounter when you install a named instance of one or more SQL Server 2005 components and you specify different installation locations for one or more of the components =

Article ID: 933945

Article Last Modified on 5/10/2007

-

APPLIES TO


 * Microsoft SQL Server 2005 Standard Edition
 * Microsoft SQL Server 2005 Workgroup Edition
 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition
 * Microsoft SQL Server 2005 Analysis Services

-



SYMPTOMS
Consider the following scenario:  You install a named instance of one or more of the following Microsoft SQL Server 2005 components:  SQL Server Database Services SQL Server Analysis Services  On the &quot;Components to Install&quot; page, you specify different installation locations for one or more of the components as follows:  You specify that Database Services is to be installed in a folder that is named &quot;MSSQLServer.&quot; You specify that Analysis Services is to be installed in a folder that is named &quot;MSSQLServerOLAPService.&quot;</ul>

Note The names of these folders are case sensitive.</li></ul>

In this scenario, you may encounter the following symptoms.

Symptom 1
Specific .ini files for the components that are mentioned earlier contain information as follows:  If you install Database Services, information that resembles the following is contained in the Perf- sqlctr.ini file:

[info]

drivername=MSSQL$

trusted=

symbolfile= :\MSSQL$ \MSSQL. \MSSQL\Binn\sqlctr.h

</li> If you install Analysis Services, information that resembles the following is contained in the Perf- msmdctr.ini file:

[info]

drivername=MSOLAP$

symbolfile= :\MSOLAP$ \MSSQL. \OLAP\bin\msmdctr.h

</li></ul>

Symptom 2
During the installation of SQL Server 2005, you receive the following error message:

The setup has encountered an unexpected error while installing performance counters. The error is: The specified driver is invalid.

Symptom 3
After you click Ignore when you receive the error message that is mentioned in Symptom 2, SQL Server Setup finishes its operation successfully. However, the following error message is logged in the SQLSetup0001_ _SQL.log file:

Error Code: 2001

MSI (s) (44!C4) [ ]: Product: Microsoft SQL Server 2005 -- Error 29528. The setup has encountered an unexpected error while Installing performance counters. The error is: The specified driver is invalid.

Error 29528. The setup has encountered an unexpected error while Installing performance counters. The error is: The specified driver is invalid.

<Failure Type='Ignored'>

Symptom 4
If you install SQL Server 2005 Service Pack 1 (SP1) or SQL Server 2005 Service Pack 2 (SP2) afterward, you experience the following issues.

SQL Server 2005 SP1
 When you install SQL Server 2005 SP1, you receive the following error message:

A recently applied update, KB913090, failed to install.

</li> The following error message is logged in the SQL9_Hotfix_KB913090.log file:

Failed to read registry key: Debug

MSP returned 1603: A fatal error occurred during installation.

Successfully opened registry key: Software\Policies\Microsoft\Windows\Installer

Failed to read registry key: Debug

Unable to install MSP file: \\ \f$\64b4ce0abc66d8453d93b0a1fa\HotFixSQL\Files\sqlrun_sql.msp

The following exception occurred: Unable to install Windows Installer MSP file  File: \depot\sqlvault\setupmain\setup\sqlse\sqlsedll\copyengine.cpp Line: 856

</li> The following error message is logged in the SQL9_Hotfix_KB913090_sqlrun_sql.msp.log file:

MSI (s) (C8:A0) [11:15:21:752]: Product: Microsoft SQL Server 2005 - Update 'Service Pack 1 for SQL Server Database Services 2005 ENU (KB913090)' could not be installed. Error code 1603. Additional information is available in the log file C:\WINDOWS\Hotfix\SQL9\Logs\SQL9_Hotfix_KB913090_sqlrun_sql.msp.log.

MSI (s) (C8:A0) [ ]: Note: 1: 1729

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Transforming table Error.

MSI (s) (C8:A0) [ ]: Note: 1: 2262 2: Error 3: -2147287038

MSI (s) (C8:A0) [ ]: Product: Microsoft SQL Server 2005 -- Configuration failed.

MSI (s) (C8:A0) [ ]: Attempting to delete file C:\WINDOWS\Installer\46000.msp

MSI (s) (C8:A0) [ ]: Unable to delete the file. LastError = 32 MSI (s) (C8:A0) [11:15:21:922]: Cleaning up uninstalled install packages, if any exist

MSI (s) (C8:A0) [ ]: MainEngineThread is returning 1603

MSI (s) (C8:F8) [ ]: Destroying RemoteAPI object.

MSI (s) (C8:98) [ ]: Custom Action Manager thread ending.

Logging stopped:
MSI (c) (D8:04) [ ]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1

MSI (c) (D8:04) [ ]: MainEngineThread is returning 1603

Verbose logging stopped:
</li></ul>

SQL Server 2005 SP2
 When you install SQL Server 2005 SP2, you receive the following error message:

A recently applied update, KB921896, failed to install.

Then, you continue the installation. Finally, Database Services and Analysis Services are not installed.</li> The following error message is logged in the Summary.txt file:

Product : Database Services (SQL2005)

Product Version (Previous): 1399

Product Version (Final) :

Status : Failure

Log File : C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB921896_sqlrun_sql.msp.log

Error Number : 29528

Error Description : MSP Error: 29528 The setup has encountered an unexpected error while Installing performance counters. The error is: The specified driver is invalid.

</li> The following information is logged in the Hotfix.log file:

Installing file: sqlrun_sql.msp

Copy Engine: Creating MSP install log file at: C:\Program Files\Microsoft SQL Server\90\Setup Bootstrap\LOG\Hotfix\SQL9_Hotfix_KB921896_sqlrun_sql.msp.log

MSP Error: 29528 The setup has encountered an unexpected error while Installing performance counters. The error is: The specified driver is invalid.

MSP returned 1603: A fatal error occurred during installation.

Copy Engine: Error, unable to install MSP file: e:\ddf143eddce69fe41b19cf97ff46\HotFixSQL\Files\sqlrun_sql.msp

The following exception occurred: Unable to install Windows Installer MSP file Date:

File: \depot\sqlvault\stable\setupmainl1\setup\sqlse\sqlsedll\copyengine.cpp Line: 800

</li> The following error message is logged in the SQL9_Hotfix_KB921896_sqlrun_sql.msp file:

<Func Name='Do_sqlPerfmon2'>

<EndFunc Name='Do_sqlPerfmon2' Return='2001' GetLastError='2'>

PerfTime Stop: Do_sqlPerfmon2 : Tue Mar 27 14:49:19 2007

Gathering darwin properties for failure handling.

MSI (s) (70!34) [ ]: Transforming table Error.

MSI (s) (70!34) [ ]: Note: 1: 2262 2: Error 3: -2147287038

Error Code: 2001

MSI (s) (70!34) [ ]: Product: Microsoft SQL Server 2005 -- Error 29528. The setup has encountered an unexpected error while Installing performance counters. The error is: The specified driver is invalid.

Error 29528. The setup has encountered an unexpected error while Installing performance counters. The error is: The specified driver is invalid.

<EndFunc Name='LaunchFunction' Return='2001' GetLastError='0'>

MSI (s) (70:B8) [ ]: User policy value 'DisableRollback' is 0

MSI (s) (70:B8) [ ]: Machine policy value 'DisableRollback' is 0

Action ended : InstallFinalize. Return value 3

</li></ul>

<div class="cause_section">

CAUSE
The Setup program performs a find-and-replace operation on the following files:
 * Perf- sqlctr.ini
 * Perf- msmdctr.ini file

The find-and-replace operation is case sensitive. If the folder that you specify to install the component has the same name as the service name of the default instance of the component, many strings in the file will be replaced. Therefore, you receive the error message.

<div class="workaround_section">

WORKAROUND
To work around this problem, do not install these components in the following folders:
 * A folder that is named &quot;MSSQLServer&quot;
 * A folder that is named &quot;MSSQLServerOLAPService&quot;

<div class="moreinformation_section">

MORE INFORMATION
&quot;MSSQLServer&quot; is the default service name of the Database Services component. &quot;MSSQLServerOLAPService&quot; is the default service name of the Analysis Services component. These default service names are reserved for SQL Server 2005. You should not use these names as folder names.

<div class="status_section">

STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.

Keywords: kbsql2005setup kbexpertiseadvanced kbtshoot kbprb KB933945

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.