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



The information in this article applies to:

  • Microsoft SQL Server 2000 (all editions)

This article was previously published under Q290080
BUG #: 236230 (SHILOH_bugs)

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
				

Modification Type:MajorLast Reviewed:11/6/2003
Keywords:kbBug kbfix kbSQLServ2000sp1fix KB290080