FIX: Restore of Log in Standby Mode May Cause 9004 Error Message if the Original Database has Shrink Enabled

Article translations Article translations
Article ID: 277843 - View products that this article applies to.
This article was previously published under Q277843
This article has been archived. It is offered "as is" and will no longer be updated.
BUG #: 58386 (SQLBUG_70)
Expand all | Collapse all

SYMPTOMS

A STANDBY RESTORE attempt of a database log taken from a source database, with shrink operations enabled and active, may cause the following 9004 error message to occur and a failure to complete the load:
Error: 9004 The log for database '%.*ls' is corrupt.

WORKAROUND

The 9004 error message indicates that the log dump is corrupt. However, for this issue the log is intact and valid. Alternate restore options do complete.

Use the the NORECOVERY or RECOVERY option to restore the database.

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.

MORE INFORMATION

The log shrink operation takes place at CHECKPOINT time. Thus, you can have active Shrink requests that do not process until the log backup is complete or normal CHECKPOINT activity occurs.

Properties

Article ID: 277843 - Last Review: October 21, 2013 - Revision: 2.0
APPLIES TO
  • Microsoft SQL Server 7.0 Standard Edition
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbqfe KB277843

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