| Previous | Next |
| STG_E_NOTFILEBASEDSTORAGE | STG_E_DOCFILECORRUPT |
STG_E_EXTANTMARSHALLINGS
STG_E_EXTANTMARSHALLINGS: exact failure boundary
0x80030108 corresponds to STG_E_EXTANTMARSHALLINGS. The platform message is Illegal operation called on object with extant marshallings. This result is returned while closing, replacing, or performing an operation that requires no external marshaled proxies. The diagnostic question is whether the object cannot complete the operation while marshaled interface references remain active.
Evidence to capture
- Record this result, 0x80030108, the native method name, process and thread IDs, operation ID, component build, architecture, and elapsed time.
- Capture stream names, offsets, lengths, transaction state, backing path, and the validity of partially written output.
- Keep IErrorInfo, provider extended status, relevant device/storage events, and the first lower-level failure.
- When handling this result, release interfaces in child-before-parent order, close native handles once, and do not commit or replace output whose validity is uncertain.
Likely causes to separate
- Another apartment still holds a proxy.
- A global interface table entry was not revoked.
- Shutdown began before asynchronous clients released their references.
Focused diagnostic test
Reproduce the same native call with the same object identity and change one cause candidate at a time. Preserve the first provider or lower-layer result and compare object state before cleanup. A different HRESULT after one controlled change is a new boundary, not proof that the original operation is fully repaired.
Correction
revoke published references, wait for proxy release, and perform final teardown from the owning apartment.
Verification
After correction, repeat the operation that returned this result. Verify the intended API operation completes and that any output, ownership transfer or persistent state is valid; do not treat disappearance of the dialog alone as success.
Technical references
- Microsoft: COM error codes for STG and RPC
- Microsoft: Structured Storage
- Microsoft: IStorage
- Microsoft: IStream
Looking for a different code? Search another status or error code.
