FIX: Assert Occurs When You Try to Alter a Database and Trace Flag 902 is Enabled

Article translations Article translations
Article ID: 290080 - View products that this article applies to.
This article was previously published under Q290080
BUG #: 236230 (SHILOH_bugs)
Expand all | Collapse all

SYMPTOMS

Altering a database when trace flag 902 is enabled may cause the following error message to be written to the SQL Server error log:
2001-02-27 23:00:40.22 spid51    LogMgr::FixupLogTail (): alignBuf 0x2b21e000, writeSize 0xf000, filePos 0x4e00 
2001-02-27 23:00:40.24 spid51    blankSize 0x1e000, blkOffset 0x17, fileSeqNo 5, totBytesWritten 0x0
2001-02-27 23:00:40.24 spid51    fcb status 0x310d142, handle 0x444, size 63 pages 
2001-02-27 23:00:40.24 spid51    FixupTail: Operating system error 5(Access is denied.) encountered.
2001-02-27 23:00:40.24 spid51    LogMgr::FixupLogTail (): alignBuf 0x2b21e000, writeSize 0xf000, filePos 0x13e00 
2001-02-27 23:00:40.24 spid51    blankSize 0x1e000, blkOffset 0x17, fileSeqNo 5, totBytesWritten 0xf000
2001-02-27 23:00:40.24 spid51    fcb status 0x310d142, handle 0x444, size 63 pages 
2001-02-27 23:00:40.24 spid51    FixupTail: Operating system error 5(Access is denied.) encountered.
				

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.

MORE INFORMATION

To reproduce the problem, run the following code:
dbcc traceon(902)
go

create database test
go

alter database test set read_only
go
				

Properties

Article ID: 290080 - Last Review: November 6, 2003 - Revision: 3.2
APPLIES TO
  • Microsoft SQL Server 2000 Standard Edition
Keywords: 
kbbug kbfix kbsqlserv2000sp1fix KB290080

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