What does HRESULT 0xC8000713 (hrFileNotFound) mean?

 
Previous Next
hrPermissionDenied hrAfterInitialization

hrFileNotFound

Why this is more specific than the message text

hrFileNotFound means a syntactically valid database-related path names a file that is absent at call time.

This is the legacy Directory Service backup/restore HRESULT form of JET_errFileNotFound (0xC8000713).

The key comparison is: hrInvalidPath rejects the location syntax; hrInvalidDatabase means a present file is the wrong format. The first useful observation is to record canonical path, directory listing, rename/delete events, working directory, and backup/restore provenance. This evidence distinguishes access, operating-system I/O, integrity verification, missing files, and log corruption.

Related ESE conditions

hrFileAccessDeniedESE could not open or manipulate a database-related file with the requested access
hrLogCorruptedtransaction log files required by the database fail structural or integrity validation
hrDiskIOthe storage stack failed an ESE read, write, flush, or metadata operation

The ESE objects in play

Diagnostic layerdatabase, log, checkpoint, or temporary files and the Windows storage/security boundary
Typical API surfacedatabase open/attach, log recovery, temporary sort/maintenance, and file rename paths
Code-specific conditiona syntactically valid database-related path names a file that is absent at call time
First corrective directionrestore or locate the correct artifact and avoid creating an empty file with the expected name

Database and log files should not be manually fabricated, renamed, or deleted as a first response. Integrity failures require evidence preservation before repair or replay changes the on-disk state.

Data for a reproducible case

  • Code-specific observation: record canonical path, directory listing, rename/delete events, working directory, and backup/restore provenance.
  • storage, filter-driver, antivirus, and system events from the same time window; associate it with this result rather than with a later generic exception.
  • the exact file, offset, length, access mode, and underlying Win32 status.
  • database, log, checkpoint, and temporary-file generations present at the first event.

Corrective workflow

  1. Freeze the failing request context and record 0xC8000713, the Jet API name, and the current instance/session ownership.
  2. Verify the code-specific precondition: record canonical path, directory listing, rename/delete events, working directory, and backup/restore provenance.
  3. Apply the targeted fix: restore or locate the correct artifact and avoid creating an empty file with the expected name.
  4. Before retrying the operation, reconcile file identity, integrity evidence, and the supported recovery state.

Actions that can hide or worsen the problem

  • Do not delete, rename, replace, or fabricate ESE files before preserving the complete set.
  • Do not run destructive repair while a storage or access fault is still active.

Technical references


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