FIX: SQL Server Assertion During Distributed Transaction

Article translations Article translations
Article ID: 290351 - View products that this article applies to.
This article was previously published under Q290351
BUG #: 236374 (SHILOH_BUGS)
Expand all | Collapse all

SYMPTOMS

A race condition between Microsoft Distributed Transaction Coordinator (DTC) operations may result in a SQL Server assertion failure similar to the following:
Short Stack Dump
77F97AC6 Module(ntdll+00017AC6) (_RtlUnicodeStringToOemString@12+00000050)
0092569E Module(sqlservr+0052569E) (utassert_fail(enum UTASSERT_TYPE,char const *,char const *,int,char const *,...)+000002E9)
0063FB9D Module(sqlservr+0023FB9D) (CMsqlXact::EnlistDTCXact(unsigned char const *,int,class CAutoRefc<struct ITransaction> &)+00000039)
00693303 Module(sqlservr+00293303) (ResetConnAndDtcXact(class PSS *)+00000149)
00858E77 Module(sqlservr+00458E77) (rm_ods_handler_body(struct srv_proc *)+000000E0)
00858D58 Module(sqlservr+00458D58) (rm_ods_handler(struct srv_proc *)+00000053)
00693E8A Module(sqlservr+00293E8A) (process_commands(struct srv_proc *)+000001AC)
410735D0 Module(UMS+000035D0) (ProcessWorkRequests(class UmsWorkQueue *)+00000264)
4107382C Module(UMS+0000382C) (ThreadStartRoutine(void *)+000000BC)
7800BEA1 Module(MSVCRT+0000BEA1) (_beginthread+000000CE)
77E92CA8 Module(KERNEL32+00012CA8) (_CreateProcessW@40+0000035E)
-------------------------------------------------------------------------------
SQL Server Assertion: File: <"msqlxact.cpp">, line=1143 
	Failed Assertion = 'IS_OFF_SAFE (XACT_MUST_DEFECT_DTC, m_status)'.
					

CAUSE

This condition occurs when a pooled connection is enlisted in a DTC operation and then leaves the transaction and is enlisted in another transaction before the transaction context can be reset.

RESOLUTION

To resolve this problem, obtain the latest service pack for SQL Server 2000. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:
290211 INF: How to Obtain the Latest SQL Server 2000 Service Pack

STATUS

Microsoft has confirmed that this is a problem in SQL Server 2000. This problem was first corrected in SQL Server 2000 Service Pack 1.

Properties

Article ID: 290351 - Last Review: February 22, 2007 - Revision: 3.4
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
  • Microsoft SQL Server 2000 Enterprise Edition
  • Microsoft SQL Server 2000 Developer Edition
Keywords: 
kbbug kbfix kbqfe kbsqlserv2000sp1fix KB290351

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