| Previous | Next |
| VDS_E_DISK_NOT_IMPORTED | VDS_E_MISSING_DISK |
VDS_E_OBJECT_OUT_OF_SYNC
VDS_E_OBJECT_OUT_OF_SYNC This HRESULT is a stale-object signal. VDS maintains a cache of storage objects and sends notifications when objects arrive, change, or disappear. A previously acquired COM object can therefore represent information that is no longer current when the application later issues a management call.
What the VDS state means
Microsoft documents IVdsService::Refresh as refreshing the view of all objects in the VDS cache and synchronizing layout to the layout known by the disk driver. It also warns applications not to call Refresh in response to every notification because refresh itself can generate additional notifications. The intended diagnostic pattern is to detect a genuinely stale view, refresh at a controlled point, and reacquire the target object.
Diagnostic focus
- Log the object GUID and the time between enumeration and the failed call; long-lived cached objects are a common place to look for state drift.
- Process VDS notifications and invalidate application-side object caches when the referenced disk, pack, volume, or plex changes.
- When this HRESULT occurs, refresh once at a controlled synchronization boundary and reacquire the object by ID before retrying.
- If the object repeatedly falls out of sync, investigate device arrival/removal, provider cache errors, and competing storage-management software.
Technical references
VDS common return codes · MS-VDS error codes · IVdsService::Refresh · VDS interfaces and structures · IVdsProvider
Looking for a different code? Search another status or error code.
