You may experience a failure when you install SQL Server 2005 Service Pack 1 on an instance of SQL Server 2005 (918695)
The information in this article applies to:
- Microsoft SQL Server 2005 Service Pack 1
Bug #: 433207 (SQLBUDT)
SYMPTOMSWhen you install Microsoft SQL Server 2005 Service Pack 1 (SP1)
on an instance of SQL Server 2005, you may experience a failure when the SQL
Server 2005 SP1 Setup program upgrades the database services. If you examine the SQL Server 2005 SP1 SQL9_Hotfix_KB913090_sqlrun_sql.msp.log installation log file, you notice error messages that resemble the following: Doing Action:
CommitSqlUpgrade PerfTime Start: CommitSqlUpgrade : Fri Apr 28 10:41:04
2006 <Func Name='ComponentUpgrade'> There was a failure during
installation search up in this log file for this message: SQL Server Setup
has encountered the following problem: [Microsoft][SQL Native Client][SQL
Server]Cannot find the object 'dm_exec_query_resource_semaphores', because it
does not exist or you do not have permission.. To continue, correct the
problem, and then run SQL Server Setup again. <EndFunc
Name='ComponentUpgrade' Return='15151' GetLastError='0'> PerfTime Stop:
CommitSqlUpgrade : Fri Apr 28 10:41:04 2006 Gathering darwin properties for
failure handling. <EndFunc Name='LaunchFunction' Return='15151'
GetLastError='0'> MSI (s) (98:98) [10:41:05:637]: Transforming table
InstallExecuteSequence. MSI (s) (98:98) [10:41:05:637]: Note: 1: 2262 2:
InstallExecuteSequence 3: -2147287038 MSI (s) (98:98) [10:41:05:637]:
Transforming table InstallExecuteSequence. MSI (s) (98:98) [10:41:05:637]:
Transforming table InstallExecuteSequence. MSI (s) (98:98) [10:41:05:637]:
Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038 MSI (s) (98:98)
[10:41:05:637]: Transforming table InstallExecuteSequence. MSI (s) (98:98)
[10:41:05:637]: Note: 1: 2262 2: InstallExecuteSequence 3: -2147287038 MSI
(s) (98:98) [10:41:05:637]: Transforming table InstallExecuteSequence. MSI
(s) (98:98) [10:41:05:637]: Note: 1: 2262 2: InstallExecuteSequence 3:
-2147287038 Action ended 10:41:05:
CommitSqlUpgrade.D20239D7_E87C_40C9_9837_E70B8D4882C2. Return value 3. Action
ended 10:41:05: INSTALL. Return value 3. Property(S): SqlUpgradeMessage = SQL
Server Setup has encountered the following problem: [Microsoft][SQL Native
Client][SQL Server]Cannot find the object 'dm_exec_query_resource_semaphores',
because it does not exist or you do not have permission.. To continue, correct
the problem, and then run SQL Server Setup again. Property(S):
UpgradeInstruction = Connect to SQL instance ComputerName\SQLInstanceName as
sysadmin Launch SQL statement USE master Launch script file C:\Program
Files\Microsoft SQL Server\MSSQL.2\MSSQL\Install\sysdbupg.sql Launch script
file C:\Program Files\Microsoft SQL
Server\MSSQL.2\MSSQL\Install\DbEngine_hotfix_install.sql Launch script file
C:\Program Files\Microsoft SQL
Server\MSSQL.2\MSSQL\Install\repl_hotfix_install.sql Stop service
MSSQL$INST2 MSI (s) (98:98) [10:41:07:137]: 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) (98:98) [10:41:07:137]: Product: Microsoft SQL Server 2005 -- Configuration
failed. CAUSEThe problem occurs because the master database file is not in
the same location as the Resource database file for the instance of SQL Server
2005 on which you install SQL Server 2005 SP1. You may have previously moved
the master database from its originally installed location. When you move the master
database, you must make sure that the master and Resource database files are located in the same folder. If you only move the master
database files, you experience this problem when you install SQL
Server 2005 SP1. This problem occurs because the location of the master and
Resource database files is inconsistent.WORKAROUNDTo work around this problem, make sure that the master and Resource database
files are located in the same folder for a particular instance of SQL Server
2005 before you install SQL Server 2005 SP1.You can use a tool, such as Sysinternals Process Explorer (Procexp.exe), to determine the
location of the master and Resource database files that are currently used by the
instance of SQL Server 2005. To obtain Process Explorer,
visit the following Sysinternals Web site:
Microsoft provides third-party contact information to help you find technical support. This contact information may change without notice. Microsoft does not guarantee the accuracy of this third-party contact information.
To determine the location of the master and Resource database files in Process Explorer, follow these
steps:
- In Process Explorer, locate the
Sqlservr.exe process in the Process
pane.
- On the View menu, click
Show Lower Pane.
- In the lower pane of Process Explorer, make sure that the
Name column is displayed.
If the Name column is not
displayed, follow these steps:
- On the View menu, click
Select Columns, and then click the Handle
pane.
- Click to select the Name check box,
and then click OK.
- In the lower pane of Process Explorer, click
Type to sort handles by type.
- For the File type items, search the
Name column for the path of the file Mssqlsystemresource.mdf
file. This path is the path of the Resource database file. You
can also search the Name column for the path of the Master.mdf file. This path is the path of the master database file.
If these paths are different, you must move the database files to the same folder. The Resource database depends on the location of the
master database. If you move the master database, you must also move the
Resource database to the same location as the master database file. Do not put the
Resource database in either compressed or encrypted NTFS file system folders.
If you do this, you hinder performance and prevent upgrades. STATUSMicrosoft
has confirmed that this is a problem in the Microsoft products that are listed
in the "Applies to" section.REFERENCESFor more information about how to move the master and
Resource databases, visit the following Microsoft Developer Network (MSDN) Web
site:
For
more information about how to start an instance of SQL Server 2005 by using
Microsoft Windows net commands, visit the following MSDN Web site:
Modification Type: | Major | Last Reviewed: | 5/4/2006 |
---|
Keywords: | kbsql2005setup kbExpertiseAdvanced kbtshoot kbprb KB918695 kbAudDeveloper kbAudITPRO |
---|
|