| Previous | Next |
| CO_E_LOOKUPACCNAMEFAILED | CO_E_FAILEDTOGETWINDIR |
CO_E_SETSERLHNDLFAILED
COM could not set or reset its ACL serialization handle
CO_E_SETSERLHNDLFAILED is HRESULT 2147549491 (0x80010133) from winerror.h. The documented description is “Unable to set or reset a serialization handle.” The relevant context is the COM IAccessControl, DCOM client identity, trustee translation, token inspection, security descriptor, ACL, or serialization workflow.
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 IAccessControl persistence or stream serialization that uses an internal handle to coordinate ACL encoding and file operations.
What to verify
Verify that the handle state, operation phase, stream or file owner, and previous cleanup are reconstructed. Validate this condition using the owning API state, not an inferred UI symptom.
Correct handling and recovery
Abort the serialization transaction, close valid resources once, recreate the handle, and prevent concurrent use of the same serializer.
Reconcile partial output and server-side effects before attempting the operation again.
Practical scenario
Two threads serialize access data through one COM access-control instance. A per-instance lock and scoped handle make serialization single-owner.
Difference from nearby HRESULTs
It is serializer state management; create/close file HRESULTs identify underlying resource operations.
Developer and administrator guidance
References
Looking for a different code? Search another status or error code.