Explanation: A snapshot job has failed with an error VSS_E_BAD_STATE error.
The Enterprise Vault agent can cause a snapshot job to fail with a status code 156 error. This status code indicates that a snapshot job has failed with an error VSS_E_BAD_STATE and if it is not corrected, subsequent snapshot jobs fail.
If the VSS_E_BAD_STATE error occurs a message similar to the following appears in the bpfis log file:
onlfi_vfms_logf: snapshot services: vss: "IVssBackupComponents::DoSnapshotSet" failed with error "VSS_E_BAD_STATE:(error value=0x80042301)" while trying to commit snapshot set {AF8C691F-4111-46B2-A538-DE7F2670915A}
Perform the following to reset the Microsoft Volume Shadow Copy Service (VSS) writer states and to ensure that future snapshot jobs are successful.
To reset the Microsoft Volume Shadow Copy Service (VSS) writer states
Ensure that the MS Software Shadow Copy Provider service's Startup type is set to Manual.
Ensure that the Volume Shadow Copy service's Startup type is set to Manual.
From the command line, run vssadmin list writers.
This command shows you the state of the VSS writers. If any of them are in a bad state (a state other than Stable) then you must manually reset the writer's state.
Reset the VSS writer states by running the following commands from the command line:
If you are on a Windows 2003 system, run the command, regsvr32 vssui.dll from the command line. If your computer is not running Windows 2003, then you can skip this step.