What does HRESULT 0x8001013F (CO_E_ACNOTINITIALIZED) mean?

 
Previous Next
CO_E_DECODEFAILED CO_E_CANCEL_DISABLED

CO_E_ACNOTINITIALIZED

COM IAccessControl object has not been initialized

CO_E_ACNOTINITIALIZED is HRESULT 2147549503 (0x8001013F) from winerror.h. The documented description is “The COM IAccessControl object is not initialized.” The relevant context is the COM IAccessControl, DCOM client identity, trustee translation, token inspection, security descriptor, ACL, or serialization workflow.

The caller should keep this result intact through logging, exception translation, and RPC or language projection boundaries.

What to verify

Verify that construction and initialization order, required initial state, and interface instance identity are known.

Where it is encountered

  • IAccessControl initialization, access checks, owner/trustee processing, and serialized ACL persistence.
  • Server-side DCOM impersonation, client blanket inspection, token and SID lookup.
  • Security descriptor construction, DACL canonicalization, file-backed policy storage, or legacy NetAccess migration.

The immediate focus is an IAccessControl method invoked before the implementation receives its required owner, property, ACL, or initialization data.

Correct handling and recovery

Call the documented initialization method before access checks or persistence, propagate initialization failure, and prevent publication of half-initialized objects.

An unchanged retry loop can duplicate effects, deepen reentrancy, or hide an invalid lifetime transition.

Difference from nearby HRESULTs

It is object lifecycle; descriptor and trustee HRESULTs assume initialization proceeded far enough to process access data.

Developer and administrator guidance

Document the component that returned the result so future occurrences can be correlated across client, proxy, server, package, and security logs.

Practical scenario

A factory returns an IAccessControl instance before loading its policy stream. The factory completes initialization atomically before exposing the interface.

References


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