Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: SQL Server 2005 stops and then restarts unexpectedly, and errors occur in the tempdb database


View products that this article applies to.

Bug: #50001279 (SQL Hotfix)

↑ Back to the top


Microsoft distributes Microsoft SQL Server 2005 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 2005 fix release.

↑ Back to the top


Summary

This article describes the following about this hotfix release:
  • The issues that are fixed by the hotfix package
  • The prerequisites for installing the hotfix package
  • Whether you must restart the computer after you install the hotfix package
  • Whether the hotfix package is replaced by any other hotfix package
  • Whether you must make any registry changes
  • The files that are contained in the hotfix package

↑ Back to the top


Symptoms

SQL Server 2005 stops and then restarts unexpectedly. When you examine the SQL Server 2005 error log file, you find that errors have occurred in the tempdb database. The error messages resemble the following:
DateTimeSPID Error: 602, Severity: 21, State: 30.

DateTimeSPID Could not find an entry for table or index with partition ID 491897996509184 in database 2. This error can occur if a stored procedure references a dropped table, or metadata is corrupted. Drop and re-create the stored procedure, or execute DBCC CHECKDB.

DateTimeSPID Error: 9001, Severity: 21, State: 5.

DateTimeSPID The log for database 'msdb' is not available. Check the event log for related error messages. Resolve any errors and restart the database.

DateTimeSPID Error: 3449, Severity: 21, State: 1.

DateTimeSPID SQL Server must shut down in order to recover a database (database ID 1). The database is either a user database that could not be shut down or a system database. Restart SQL Server. If the database fails to recover after another startup, repair or restore the database.

↑ Back to the top


Cause

This issue occurs when SQL Server does not correctly handle duplicate partition IDs that are generated in the tempdb database.

↑ Back to the top


Resolution

Cumulative update information







To resolve this problem, obtain Cumulative Update 3 for SQL Server 2005 Service Pack 2 (build 3186). For more information about how to obtain Cumulative Update 3 for SQL Server 2005 Service Pack 2, click the following article number to view the article in the Microsoft Knowledge Base:

939537 Cumulative update package 3 for SQL Server 2005 Service Pack 2

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

You must have SQL Server 2005 Service Pack 1 (SP1) installed to apply this hotfix.

For more information about how to obtain SQL Server 2005 Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base:

913089 How to obtain the latest service pack for SQL Server 2005

Restart information

You do not have to restart the computer after you apply this hotfix.

Registry information

You do not have to change the registry.

Hotfix file information

This hotfix contains only those files that are required to correct the issues that this article lists. This hotfix may not contain of all the files that you must have to fully update a product to the latest build.

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
SQL Server 2005 32-bit version
File nameFile versionFile sizeDateTimePlatform
Bcp.exe2005.90.2234.069,48824-May-200722:50x86
Databasemailengine.dll9.0.2234.075,12024-May-200722:50x86
Logread.exe2005.90.2234.0400,75224-May-200722:50x86
Microsoft.analysisservices.adomdclient.dll9.0.2234.0546,16024-May-200722:50x86
Microsoft.analysisservices.deploymentengine.dll9.0.2234.0140,65624-May-200722:50x86
Microsoft.analysisservices.dll9.0.2234.01,217,90424-May-200722:50x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2234.078,19224-May-200722:50x86
Microsoft.sqlserver.sqlenum.dll9.0.2234.0910,70424-May-200722:50x86
Msasxpress.dll9.0.2234.024,94424-May-200722:50x86
Msgprox.dll2005.90.2234.0200,56024-May-200722:50x86
Msmdlocal.dll9.0.2234.015,647,08824-May-200722:50x86
Msmdredir.dll9.0.2234.03,993,96824-May-200722:50x86
Mssqlsystemresource.ldfNot Applicable524,28824-May-200718:22Not Applicable
Mssqlsystemresource.mdfNot Applicable40,108,03224-May-200718:22Not Applicable
Odsole70.dll2005.90.2234.059,76024-May-200722:50x86
Qrdrsvc.exe2005.90.2234.0369,52024-May-200722:50x86
Rdistcom.dll2005.90.2234.0643,44024-May-200722:50x86
Repldp.dll2005.90.2234.0187,24824-May-200722:50x86
Replmerg.exe2005.90.2234.0320,88024-May-200722:50x86
Replprov.dll2005.90.2234.0550,25624-May-200722:50x86
Replrec.dll2005.90.2234.0784,75224-May-200722:50x86
Replsub.dll2005.90.2234.0407,40824-May-200722:50x86
Spresolv.dll2005.90.2234.0177,00824-May-200722:51x86
Sqlaccess.dll2005.90.2234.0350,57624-May-200722:51x86
Sqlagent90.exe2005.90.2234.0321,39224-May-200722:51x86
Sqlservr.exe2005.90.2234.028,980,13624-May-200722:51x86
Sqsrvres.dll2005.90.2234.066,41624-May-200722:51x86
Sysdbupg.sqlNot Applicable218,48615-May-200716:11Not Applicable
Xmlsub.dll2005.90.2234.0195,44024-May-200722:51x86
Xpstar90.dll2005.90.2234.0295,28024-May-200722:51x86
Xpstar90.rll2005.90.2234.0155,50424-May-200722:51x86
SQL Server 2005 x64-based version
File nameFile versionFile sizeDateTimePlatform
Bcp.exe2005.90.2234.088,94424-May-200722:17x64
Databasemailengine.dll9.0.2234.075,12024-May-200722:17x86
Logread.exe2005.90.2234.0525,16824-May-200722:17x64
Microsoft.analysisservices.adomdclient.dll9.0.2234.0546,16024-May-200722:17x86
Microsoft.analysisservices.adomdclient.dll9.0.2234.0546,16024-May-200722:50x86
Microsoft.analysisservices.deploymentengine.dll9.0.2234.0140,65624-May-200722:50x86
Microsoft.analysisservices.dll9.0.2234.01,217,90424-May-200722:50x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2234.094,06424-May-200722:17x64
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2234.078,19224-May-200722:50x86
Microsoft.sqlserver.sqlenum.dll9.0.2234.0877,93624-May-200722:17x86
Msasxpress.dll9.0.2234.030,06424-May-200722:17x64
Msasxpress.dll9.0.2234.024,94424-May-200722:50x86
Msgprox.dll2005.90.2234.0262,00024-May-200722:17x64
Msmdlocal.dll9.0.2234.015,647,08824-May-200722:50x86
Msmdredir.dll9.0.2234.03,993,96824-May-200722:50x86
Mssqlsystemresource.ldfNot Applicable524,28824-May-200718:22Not Applicable
Mssqlsystemresource.mdfNot Applicable40,108,03224-May-200718:22Not Applicable
Odsole70.dll2005.90.2234.090,99224-May-200722:17x64
Qrdrsvc.exe2005.90.2234.0434,03224-May-200722:17x64
Rdistcom.dll2005.90.2234.0836,46424-May-200722:17x64
Repldp.dll2005.90.2234.0237,93624-May-200722:17x64
Repldp.dll2005.90.2234.0187,24824-May-200722:50x86
Replmerg.exe2005.90.2234.0417,64824-May-200722:17x64
Replprov.dll2005.90.2234.0747,88824-May-200722:17x64
Replrec.dll2005.90.2234.01,010,54424-May-200722:17x64
Replsub.dll2005.90.2234.0528,24024-May-200722:17x64
spresolv.dll2005.90.2234.0225,64824-May-200722:17x64
Sqlaccess.dll2005.90.2234.0357,74424-May-200722:17x86
Sqlagent90.exe2005.90.2234.0392,56024-May-200722:17x64
Sqlservr.exe2005.90.2234.039,364,97624-May-200722:17x64
Sqsrvres.dll2005.90.2234.078,19224-May-200722:17x64
Sysdbupg.sqlNot Applicable218,48615-May-200716:11Not Applicable
Xmlsub.dll2005.90.2234.0319,85624-May-200722:17x64
Xpstar90.dll2005.90.2234.0543,60024-May-200722:17x64
Xpstar90.rll2005.90.2234.0156,01624-May-200722:17x64
SQL Server 2005 Itanium architecture version
File nameFile versionFile sizeDateTimePlatform
Bcp.exe2005.90.2234.0157,55224-May-200723:48IA-64
Databasemailengine.dll9.0.2234.075,12024-May-200723:48x86
Logread.exe2005.90.2234.01,098,09624-May-200723:48IA-64
Microsoft.analysisservices.adomdclient.dll9.0.2234.0546,16024-May-200722:50x86
Microsoft.analysisservices.adomdclient.dll9.0.2234.0546,16024-May-200723:48x86
Microsoft.analysisservices.deploymentengine.dll9.0.2234.0140,65624-May-200722:50x86
Microsoft.analysisservices.dll9.0.2234.01,217,90424-May-200722:50x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2234.078,19224-May-200722:50x86
Microsoft.sqlserver.mgdsqldumper.dll2005.90.2234.0165,74424-May-200723:48IA-64
Microsoft.sqlserver.sqlenum.dll9.0.2234.0877,93624-May-200723:48x86
Msasxpress.dll9.0.2234.024,94424-May-200722:50x86
Msasxpress.dll9.0.2234.057,71224-May-200723:48IA-64
Msgprox.dll2005.90.2234.0545,13624-May-200723:48IA-64
Msmdlocal.dll9.0.2234.048,724,84824-May-200723:48IA-64
Msmdredir.dll9.0.2234.06,249,32824-May-200723:48IA-64
Mssqlsystemresource.ldfNot Applicable524,28824-May-200718:22Not Applicable
Mssqlsystemresource.mdfNot Applicable40,108,03224-May-200718:22Not Applicable
Odsole70.dll2005.90.2234.0180,08024-May-200723:48IA-64
Qrdrsvc.exe2005.90.2234.0943,98424-May-200723:48IA-64
Rdistcom.dll2005.90.2234.01,884,01624-May-200723:48IA-64
Repldp.dll2005.90.2234.0187,24824-May-200722:50x86
Repldp.dll2005.90.2234.0511,34424-May-200723:48IA-64
Replmerg.exe2005.90.2234.0957,29624-May-200723:48IA-64
Replprov.dll2005.90.2234.01,619,82424-May-200723:48IA-64
Replrec.dll2005.90.2234.02,143,60024-May-200723:48IA-64
Replsub.dll2005.90.2234.01,159,53624-May-200723:48IA-64
spresolv.dll2005.90.2234.0498,03224-May-200723:48IA-64
Sqlaccess.dll2005.90.2234.0352,11224-May-200723:48x86
Sqlagent90.exe2005.90.2234.01,143,66424-May-200723:48IA-64
Sqlservr.exe2005.90.2234.072,191,34424-May-200723:42IA-64
Sqsrvres.dll2005.90.2234.0137,07224-May-200723:42IA-64
Sysdbupg.sqlNot Applicable218,48615-May-200716:11Not Applicable
Xmlsub.dll2005.90.2234.0593,26424-May-200723:42IA-64
Xpstar90.dll2005.90.2234.0953,71224-May-200723:42IA-64
Xpstar90.rll2005.90.2234.0154,99224-May-200723:48IA-64

↑ Back to the top


Status

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

↑ Back to the top


More Information

For more information about the naming schema for SQL Server updates, click the following article number to view the article in the Microsoft Knowledge Base:

822499 New naming schema for Microsoft SQL Server software update packages

For 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

↑ Back to the top


Keywords: kb, kbautohotfix, kbsql2005engine, kbexpertiseadvanced, kbfix, kbpubtypekc, kbqfe, kbhotfixserver

↑ Back to the top

Article Info
Article ID : 937343
Revision : 1
Created on : 1/7/2017
Published on : 3/16/2011
Exists online : False
Views : 958