What does HRESULT 0xC0AAB13B (IMAPI_E_STASHFILE_READ_FAILURE) mean?

 
Previous Next
IMAPI_E_STASHFILE_WRITE_FAILURE IMAPI_E_INVALID_WORKING_DIRECTORY

IMAPI_E_STASHFILE_READ_FAILURE

IMAPI_E_STASHFILE_READ_FAILURE occurs after IMAPI2FS has written staged content and later cannot read that temporary data back. The stash file belongs to the image-building pipeline in the configured working directory. This is distinct from IMAPI_E_DATA_STREAM_READ_FAILURE, which concerns the original source stream.

Separate original-source reads from staged-file reads

  • Confirm that the reported failure occurs on a stash file in WorkingDirectory, not on the original source path.
  • Check whether temporary files were altered, quarantined, truncated, or removed during image construction.
  • Inspect local storage and filesystem errors around the read, especially if earlier staging writes succeeded.

Revalidating the original file alone is insufficient because IMAPI is now consuming its temporary copy. Cleanup tools and security products that treat large temp files aggressively can create this state. Keep the working directory excluded from application-level cleanup until the image object is finished, and use a stable local volume. If the failure reproduces, compare stash-file size and storage health rather than blaming the source stream.

WorkingDirectory · StageFiles · IMAPI return values


Looking for a different code? Search another status or error code.