Microsoft KB Archive/912422

= FIX: The synchronous database mirroring session status may remain disconnected when you set up synchronous database mirroring but do not configure a witness database and you run a DBCC STACKDUMP command in SQL Server 2005 =

Article ID: 912422

Article Last Modified on 7/26/2006

-

APPLIES TO


 * Microsoft SQL Server 2005 Developer Edition
 * Microsoft SQL Server 2005 Enterprise Edition
 * Microsoft SQL Server 2005 Enterprise Edition for Itanium-based Systems
 * Microsoft SQL Server 2005 Enterprise X64 Edition
 * Microsoft SQL Server 2005 Express Edition
 * Microsoft SQL Server 2005 Standard X64 Edition
 * Microsoft SQL Server 2005 Standard Edition

-



Bug #: 409556 (SQL BU Defect Tracking)



''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.''



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



SYMPTOMS
In Microsoft SQL Server 2005, the synchronous database mirroring session status may remain disconnected. You experience this problem when the following conditions are true:
 * You set up synchronous database mirroring but do not configure a witness database. For example, you do not enable automatic failover.
 * You run a DBCC STACKDUMP command on the principal database server.

The following error messages are logged in the primary SQL Server error log:

Server Microsoft SQL Server 2005 - 9.00.1355.11 (X64) Sep 25 2005 01:44:38 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 1)

Logon Error: 18456, Severity: 14, State: 16.

Logon Login failed for user ' \ '. [CLIENT: ]

spid21s Error: 1474, Severity: 16, State: 1.

spid21s Database mirroring connection error 2 'Connection attempt failed with error: '10060(A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)'.' for 'tcp://sapsb2r3db2.redmond.corp.microsoft.com:5022'.

spid53 WARNING: Mirroring not active for database

The following error message is logged in the witness SQL Server error log:

Server Microsoft SQL Server 2005 - 9.00.1355.11 (X64) Sep 25 2005 01:44:38 Copyright (c) 1988-2005 Microsoft Corporation Enterprise Edition (64-bit) on Windows NT 5.2 (Build 3790: Service Pack 1)

Server (c) 2005 Microsoft Corporation.

spid16s The Database Mirroring protocol transport is now listening for connections.

spid16s Service Broker manager has started.

spid17s Bypassing recovery for database ' ' because it is marked as a mirror database, which cannot be recovered. This is an informational message only. No user action is required. Note You experience the above problem on SQL Server 2005 x64 Edition which has 16 GB of memory.



CAUSE
This problem may occur when any one of the following conditions is true:
 * A 17883 error occurs.
 * You stop the execution of the SQL Server process when an external debugger is attached to the SQL Server process and is debugging the process.



Service pack information
To resolve this problem, obtain the latest service pack for Microsoft SQL Server 2005. For more information, 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

Prerequisites
There are no prerequisites for this hotfix.

Restart information
You do not have to restart the computer after you apply this hotfix. However, the hotfix installation stops and then restarts the MSSQLSERVER service.

Registry information
You do not have change the registry after you apply this hotfix.

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 tool in Control Panel.

SQL Server 2005 Itanium architecture version


WORKAROUND
To work around this problem, use one of the following methods:
 * Disable trace flag 2544 when the trace flag is enabled.
 * Disable minidumps from being created by using the Sqldumper.exe utility.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section. This problem was first corrected in Microsoft SQL Server 2005 Service Pack 1.



MORE INFORMATION
The Sqldumper.exe utility is one example of a debugger that is typically used when SQL Server threads receive Scheduler errors or other exceptions.

For more information, 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

Keywords: kbsql2005sp1fix kbsql2005connect kbsql2005engine kbhotfixserver kbsql2005presp1fix kbqfe kbpubtypekc KB912422

-

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

© Microsoft Corporation. All rights reserved.