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 translations Article translations
Article ID: 912422 - View products that this article applies to.
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.
Expand all | Collapse all

On This Page

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:
DateTime 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)
DateTime Logon Error: 18456, Severity: 14, State: 16.
DateTime Logon Login failed for user 'Domain\UserID'. [CLIENT: LocalComputer]
DateTime spid21s Error: 1474, Severity: 16, State: 1.
DateTime 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'.
DateTime spid53 WARNING: Mirroring not active for database DatabaseName
The following error message is logged in the witness SQL Server error log:
DateTime 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)
DateTime Server (c) 2005 Microsoft Corporation.
DateTime spid16s The Database Mirroring protocol transport is now listening for connections.
DateTime spid16s Service Broker manager has started.
DateTime spid17s Bypassing recovery for database 'DatabaseName' 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.

RESOLUTION

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

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:
http://support.microsoft.com/contactus/?ws=support
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

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 32-bit versions
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcp80.dll8.0.50727.42548,86414-Oct-200507:26x86
Msvcr80.dll8.0.50727.42626,68814-Oct-200507:26x86
Osql.exe2005.90.1518.051,41621-Jan-200601:11x86
Sqldiscoveryapi.dll2005.90.1518.0527,06421-Jan-200601:11x86
SQL Server 2005 64-bit version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcp80.dll8.0.50727.421,097,72814-Oct-200519:46x64
Msvcr80.dll8.0.50727.42822,78414-Oct-200519:46x64
Osql.exe2005.90.1518.083,67221-Jan-200605:14x64
Sqldiscoveryapi.dll2005.90.1518.0745,68821-Jan-200605:14x64
SQL Server 2005 Itanium architecture version
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Msvcp80.dll8.0.50727.421,385,47214-Oct-200519:35IA-64
Msvcr80.dll8.0.50727.421,484,80014-Oct-200519:35IA-64
Osql.exe2005.90.1518.0123,09621-Jan-200604:30IA-64
Sqldiscoveryapi.dll2005.90.1518.01,924,31221-Jan-200604:30IA-64

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 "Applies to" 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

Properties

Article ID: 912422 - Last Review: October 9, 2011 - Revision: 3.0
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
Keywords: 
kbautohotfix kbsql2005sp1fix kbsql2005connect kbsql2005engine kbhotfixserver kbsql2005presp1fix kbqfe KB912422

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com