Site icon EfmSoft

What does HRESULT 0xC0AAB102 (IMAPI_E_READONLY) mean?

 
Previous Next
IMAPI_E_INVALID_PARAM IMAPI_E_NO_OUTPUT

IMAPI_E_READONLY

IMAPI_E_READONLY means the IMAPI2FS object referenced by the operation cannot be modified. Directory methods such as AddFile and AddTree list this HRESULT when the owning IFileSystemImage is read-only. Microsoft also documents read-only behavior for some imported-image and named-stream operations. The key state is the image object, not NTFS permissions on the source file.

Determine when the image entered a nonmodifiable state

Changing ACLs on the source directory will not repair an IMAPI object-state error. The source may be fully readable while the in-memory image is intentionally nonmodifiable. Keep object lifetime visible in logs: creation, import, hierarchy changes, and CreateResultImage. That sequence normally reveals whether application code is trying to append content after it has crossed an image-finalization or imported-object boundary.

AddFile · AddTree · CreateResultImage


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

Exit mobile version