What does HRESULT 0x80040E95 (DB_E_ASYNCNOTSUPPORTED) mean?

 
Previous Next
DB_E_READONLY DB_E_CANNOTCONNECT

DB_E_ASYNCNOTSUPPORTED

Meaning

Windows documents DB_E_ASYNCNOTSUPPORTED as “Asynchronous binding is not supported by this provider”. In this case, the consumer requests asynchronous URL binding from a provider that supports only synchronous binding.

Conditions that specifically lead to the result

  • Cause 1: an asynchronous bind flag is set without capability negotiation.
  • Cause 2: the provider implements binding but not IDBAsynchStatus for that object.
  • Cause 3: a generic client assumes all remote URLs support async progress.

Relevant contract

The OLE DB binder model maps URLs to row, rowset, stream or collection objects. URL scope, requested object type, bind flags, asynchronous capability, locks and server reachability are independent parts of the binding contract.

Investigation of this result should start with the binder or session, normalized URL, requested GUID/object type and DBBINDURLSTATUS result.

Diagnostic sequence

  1. Identify the exact failing stage: the consumer requests asynchronous URL binding from a provider that supports only synchronous binding.

Evidence to collect

When recording diagnostic data involving URLs containing credentials, tenant paths and remote object names, use types, lengths, hashes or redacted identifiers rather than secrets or complete business data.

  • Evidence 1: bind flags and requested object type.
  • Evidence 2: provider asynchronous capability properties.
  • Evidence 3: interfaces exposed on the returned or binder object.

Corrective actions

  • Action 1: fall back to synchronous binding on a worker thread when safe.
  • Action 2: feature-detect async support.
  • Action 3: keep cancellation semantics explicit in the fallback.

Practical scenario

A UI requests async binding from a file-backed provider with synchronous-only support; moving the bind to a worker preserves responsiveness.

Retry and recovery

Retry rule: retry synchronously or with a provider that advertises asynchronous binding.

Difference from nearby HRESULT values

DB_E_NOTSUPPORTED is general method capability failure, while DB_E_ASYNCNOTSUPPORTED specifically rejects asynchronous binding.

Official Microsoft references


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