| Previous | Next |
| VSS_E_UNEXPECTED_PROVIDER_ERROR | VSS_E_INVALID_XML_DOCUMENT |
VSS_E_CORRUPT_XML_DOCUMENT
VSS_E_CORRUPT_XML_DOCUMENT indicates that a VSS XML document is malformed or does not satisfy the required schema. This status is deprecated; newer code should use VSS_E_INVALID_XML_DOCUMENT for the same class of failure.
How to investigate for VSS_E_CORRUPT_XML_DOCUMENT
- Validate the XML syntax, namespaces, versioned schema, and required elements.
- Identify whether the document is requester backup metadata, writer metadata, or provider data before changing it.
- Regenerate metadata through the VSS API when possible instead of hand-editing persisted VSS documents.
Microsoft: VSS requester metadata
Diagnostic interpretation
This result has the HRESULT value 0x80042310. AllStat records the condition as “The given XML document is invalid. It is either incorrectly-formed XML or it does not match the schema. This error code is deprecated.”.
Evidence to capture
- Capture any IErrorInfo text, activity identifier, event-log entry, and subsystem trace that mentions this result or the vss / corrupt / xml / document operation.
- compare the failing machine with a working one at the same configuration boundary: component version, policy, registration, identity, and target resource.
Retry and recovery
Retry this result only when the owning API documents a transient state or after the condition described as “The given XML document is invalid. ” has changed.
Looking for a different code? Search another status or error code.
