FIX: Restore of Log in Standby Mode May Cause 9004 Error Message if the Original Database has Shrink Enabled (277843)
The information in this article applies to:
This article was previously published under Q277843
BUG #: 58386 (SQLBUG_70)
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.
Modification Type: | Major | Last Reviewed: | 3/14/2006 |
---|
Keywords: | kbBug kbfix kbQFE KB277843 |
---|
|