Site icon EfmSoft

What does HRESULT 0xC80003E9 (hrFeatureNotAvailable) mean?

 
Previous Next
hrTermInProgress hrInvalidName

hrFeatureNotAvailable

The object and state that matter

For hrFeatureNotAvailable, read this result as a boundary in the ESE state machine, not as a generic Windows failure. The decisive boundary is an API or option is recognized but absent from the engine build or operating mode in use.

This result is the legacy Directory Service backup/restore HRESULT form of the ESE condition normally written as JET_errFeatureNotAvailable. Preserve the original value 0xC80003E9 when a wrapper also exposes a signed JET_ERR.

The key comparison is: unlike hrInvalidParameter, the request can be structurally valid while the feature is unavailable. The first useful observation is to capture the exact function, grbit set, ESENT.dll version, and instance mode. This evidence shows whether startup, normal operation, shutdown, or restore ordering is the actual boundary.

Minimum useful trace

A useful trace should preserve the first failing operation and the state of the ESE instance state and call ordering.

Log lengths, hashes, IDs, flags, and redacted samples where appropriate.

How to avoid a false diagnosis

Unlike hrInvalidParameter, the request can be structurally valid while the feature is unavailable. The following neighboring results belong to the same broad subsystem but mark different boundaries:

hrAlreadyInitializedinitialization-only work was attempted after the instance had already entered the running state
hrInvalidOperationthe engine state, object type, or call ordering makes the requested operation invalid
hrAfterInitializationrestore processing was requested after the ESE instance had already initialized

Keep it in the incident record; replacing it with “database error” hides whether the next step is handle renewal, schema correction, lock reconciliation, or file preservation.

The ESE objects in play

Diagnostic layerESE instance state and call ordering
Typical API surfaceJetCreateInstance, JetSetSystemParameter, JetInit, JetTerm, and restore entry points
Code-specific boundaryan API or option is recognized but absent from the engine build or operating mode in use
First corrective directionselect a supported API path or version-gate the feature rather than retrying unchanged

Initialization parameters are generally established before JetInit. Handles derived from an instance are not reusable after teardown.

Safe recovery sequence

  1. Freeze the failing request context and record it, 0xC80003E9, the Jet API name, and the current instance/session ownership.
  2. Verify the code-specific precondition: capture the exact function, grbit set, ESENT.dll version, and instance mode.
  3. Apply the narrow correction: select a supported API path or version-gate the feature rather than retrying unchanged.
  4. Before retrying it, reconcile instance state, admission control, and child-handle cleanup.
  5. Repeat the smallest read-only or disposable test that exercises the corrected precondition; then confirm both the returned HRESULT and the resulting database, cursor, or file state.

Developer-facing acceptance test

Build a focused test that reproduces it at the ESE instance state and call ordering layer. Record the precondition, execute one API call, and assert the HRESULT plus the resulting handle and transaction state. The corrected test should change only the decisive condition—an API or option is recognized but absent from the engine build or operating mode in use—and should prove that cleanup is safe if the call still fails.

Actions that can hide or worsen the problem

Technical references


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

Exit mobile version