| 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
hrFileAccessDenied | ESE could not open or manipulate a database-related file with the requested access |
|---|---|
hrLogCorrupted | transaction log files required by the database fail structural or integrity validation |
hrDiskIO | the storage stack failed an ESE read, write, flush, or metadata operation |
The ESE objects in play
| Diagnostic layer | database, log, checkpoint, or temporary files and the Windows storage/security boundary |
|---|---|
| Typical API surface | database open/attach, log recovery, temporary sort/maintenance, and file rename paths |
| Code-specific condition | a syntactically valid database-related path names a file that is absent at call time |
| First corrective direction | restore 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
- Freeze the failing request context and record
0xC8000713, the Jet API name, and the current instance/session ownership. - Verify the code-specific precondition: record canonical path, directory listing, rename/delete events, working directory, and backup/restore provenance.
- Apply the targeted fix: restore or locate the correct artifact and avoid creating an empty file with the expected name.
- 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
- ESE files.
- JET error codes
- ESE database anatomy
- ESE source repository
- Microsoft: JET_ERR enumeration
Looking for a different code? Search another status or error code.
