Error message when you perform a Volume Shadow Copy Service restore operation: "0x80042409"

Article translations Article translations
Article ID: 978773 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You perform a Volume Shadow Copy Service (VSS) backup or a VSS restore operation. During the backup or restore operation, an event that resembles the following is written to the Application log:

Event ID: 12289

Volume Shadow Copy Service error: Unexpected error An older writer session state is being removed. . hr = 0x80042409, Writer status is not available for one or more writers. A writer may have reached the limit to the number of available backup-restore session states.

Operation: PreRestore Event

Context:
Old snapshot set: {41379de8-f7e7-4c76-bb47-7f080443e189}
Old operation: 1019
Old state: 5
Old failure: 0x800423f4
Old extended failure hr: 0x1
Old extended failure message: 0
Execution Context: Writer
Writer Class Id: {66841cd4-6ded-4f4b-8f17-fd23f8ddc3de}
Writer Name: Microsoft Hyper-V VSS
Writer Writer Instance ID: {7eef8900-84b4-406e-a461-ce19e5e7ae7f}

CAUSE

This error occurs because a backup or restore session state in the VSS writer is not cleaned up correctly. The VSS writer infrastructure creates session-state objects for each backup and restore session in which a VSS writer participates. Under typical circumstances, the writer session-state objects are cleaned up when they are not being used. Normal session state cleanup occurs under the following circumstances:
  • The backup application sends a BackupComplete response and then checks the writer status by sending a GatherWriterStatus.
  • The backup application sends a PostRestore response and then checks the writer status by sending a GatherWriterStatus query.
  • The writers receive the OnAbort event callback for the session. The OnAbort event callback is invoked when the backup session is explicitly failed by the backup application, by the writer or, by the VSS infrastructure.
The VSS writer infrastructure performs periodic garbage collection of the remaining session states. The infrustructure then logs the previous event log for each session-state object that is older than two days. The event log is intended to help identify abandoned sessions in the writer that may indicate a misbehaving backup application. You can see several similar events in rapid succession from multiple writers that indicate that there was a series of incomplete backup or restore sessions. This behavior is most frequently seen in test environments.

WORKAROUND

Ignore intermittent occurrences of this error. The related event is logged in response to garbage collection activities that are started by a backup or restore operation. However, these errors are not related to the active backup or restore session. If the error is consistently reproducible, make sure that the backup application vendor is following all the VSS backup session cleanup guidelines.

Properties

Article ID: 978773 - Last Review: December 22, 2009 - Revision: 1.1
APPLIES TO
  • Windows Server 2008 R2 Datacenter
  • Windows Server 2008 R2 Enterprise
  • Windows Server 2008 R2 Standard
  • Windows Server 2008 Datacenter
  • Windows Server 2008 Enterprise
  • Windows Server 2008 Standard
Keywords: 
kbsurveynew kbexpertiseadvanced kbtshoot KB978773

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