FIX: Assert Occurs in SQL Server When You Run DBCC CHECKDB or sp_adddistributiondb (280791)



The information in this article applies to:

  • Microsoft SQL Server 7.0

This article was previously published under Q280791
BUG #: 56950 (SQLBUG_70)

SYMPTOMS

Under rare circumstance, this assertion may occur
Location: dbrepair.c:1460
Expression: IS_OFF (XACT_BEGINXACT_LOGGED, xdes->xstatus) || IS_ON (XACT_SHORT_EXTENT_LOCKS, xdes->xstatus)
When you run either:
  • DBCC CHECKDB ( dbname , REPAIR_ALLOW_DATA_LOSS)

    -or-

  • sp_adddistributiondb

CAUSE

SQL Server does not properly handle the transaction scope.

STATUS

Microsoft has confirmed this to be a problem in SQL Server 7.0. This problem has been corrected in U.S. Service Pack 3 for Microsoft SQL Server 7.0. For more information, click the following article number to view the article in the Microsoft Knowledge Base:

274799 INF: How to Obtain Service Pack 3 for Microsoft SQL Server 7.0 and Microsoft Data Engine (MSDE) 1.0

For more information, contact your primary support provider.

Modification Type:MajorLast Reviewed:3/14/2006
Keywords:kbBug kbfix KB280791