What does HRESULT 0xC0AAB118 (IMAPI_E_ITEM_NOT_FOUND) mean?

 
Previous Next
IMAPI_E_NO_UNIQUE_NAME IMAPI_E_FILE_NOT_FOUND

IMAPI_E_ITEM_NOT_FOUND

IMAPI_E_ITEM_NOT_FOUND is the generic hierarchy lookup failure returned by IFsiDirectoryItem::get_Item. The method retrieves either a file or directory item by path; if no item is present at that image path, the lookup fails before any file-versus-directory type check is relevant.

Diagnose the image namespace, not the host filesystem

  • Log the exact path passed to get_Item and the directory item on which the lookup was performed.
  • Enumerate or inspect the parent directory children to see the names actually present in the image.
  • Trace prior add, remove, import, or rollback operations that may have changed the hierarchy.

A file can exist on the source disk and still be absent from FileSystemImage because source discovery and image insertion are separate operations. Likewise, a path imported from a previous session can be discarded when an in-memory item with the same name already exists. Verify the image model at the point of lookup rather than using GetFileAttributes on the source path as proof that the IMAPI item should exist.

get_Item · IFsiDirectoryItem · ImportFileSystem


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