| Previous | Next |
| CONVERT10_E_STG_FMT | CONVERT10_E_STG_DIB_TO_BITMAP |
CONVERT10_E_STG_NO_STD_STREAM
Contents of IStorage is missing one of the standard streams
The native value 0x800401C5 is CONVERT10_E_STG_NO_STD_STREAM, unsigned 2147746245 and signed -2147221051. The documented description is “Contents of IStorage is missing one of the standard streams”. Treat it as evidence that a required standard stream is missing from the OLE 2 storage; the operation in progress is mapping structured-storage content to the OLE 1 object model.
Operational meaning
OLE 1/OLE 2 conversion combines callback I/O, binary parsing, structured storage, and presentation conversion. Retaining the stage and byte offset is essential because a read failure, format failure, missing stream, and GDI failure require different repairs.
- Associate this result with one exact operation in OleConvertOLESTREAMToIStorage, OleConvertIStorageToOLESTREAM, OLESTREAM callbacks, structured-storage streams, and presentation-data conversion.
- Confirm that this result came from mapping structured-storage content to the OLE 1 object model, rather than from cleanup or a wrapper that ran afterward.
Cause model
- It can result when an incomplete save omitted one of the standard OLE streams.
- It can result when a cleanup tool removed an unfamiliar but required stream.
- It can result when the caller passes a child storage that does not represent the full object.
Troubleshooting workflow
- Identify the exact object, method, and lifecycle phase involved in mapping structured-storage content to the OLE 1 object model.
- Enumerate all root streams with exact names and types.
- Identify which standard stream the converter attempted to open.
- Check whether the storage was committed and copied with all children.
What to log
A useful incident records the conversion direction, OLESTREAM Get or Put callback result, requested byte count, actual byte count, storage class, stream names, presentation format, bitmap or DIB metadata, and commit state.
Correction strategy
Correction. regenerate the storage through the owning OLE server or restore the missing stream from a trustworthy source. Retry condition. Retry after complete storage reconstruction; adding an empty stream only masks the missing semantics. Before repeating the operation, record stream positions and byte counts, release temporary GDI objects, and discard or roll back any output storage that was only partly written.
Practical scenario
A backup process copied selected document streams but excluded the object’s native standard stream; restoring the complete compound file allows conversion.
Difference from related HRESULTs
CONVERT10_E_STG_FMT is a broad format mismatch; it identifies a missing required stream.
Developer and administrator guidance
Make OLESTREAM callbacks report exact byte counts, validate format headers before allocating, preserve structured-storage commit boundaries, and separate bitmap from DIB ownership. Regression coverage should include short reads and writes, invalid format records, absent standard streams, truncated presentation data, large dimensions, callback errors, and failure before versus after storage commit.
Preserve the original document and reproduce with a copy; repair the producing application or converter only after the failing conversion stage and file provenance are identified.
References
Looking for a different code? Search another status or error code.
