| Previous | Next |
| RPC_E_NO_GOOD_SECURITY_PACKAGES | RPC_E_REMOTE_DISABLED |
RPC_E_ACCESS_DENIED
COM/RPC authorization denied the call
RPC_E_ACCESS_DENIED is HRESULT 2147549467 (0x8001011B) from winerror.h. The documented description is “Access is denied.” The relevant context is the COM/RPC call control, message filtering, apartment routing, marshaling, security negotiation, or remote object lifetime.
Where it is encountered
- Cross-apartment or cross-process COM method invocation and activation.
- STA message filtering, reentrancy, call cancellation, timeout, or retry handling.
- DCOM security initialization, proxy/stub marshaling, OBJREF processing, and server object lifetime.
The immediate focus is a remote or cross-process invocation that reached security evaluation but the caller token, launch permissions, access permissions, or method policy did not authorize it.
What to verify
Verify that the effective client identity, requested interface and method, COM security blanket, and relevant ACL are known. That condition determines whether the same object can continue, a new object is required, or policy must change.
Difference from nearby HRESULTs
It is authorization failure; RPC_E_REMOTE_DISABLED is process policy that disallows remote calls regardless of a specific ACL decision.
Correct handling and recovery
Grant only the required permission to the correct principal, fix identity propagation, or reject the operation with clear audit data. Avoid broad Everyone permissions.
Reconcile partial output and server-side effects before attempting the operation again.
Practical scenario
A service account can activate a COM server but cannot invoke its management interface. The interface ACL grants the minimal method rights to that account.
References
Looking for a different code? Search another status or error code.