| Previous | Next |
| CO_E_CANCEL_DISABLED | DISP_E_UNKNOWNINTERFACE |
RPC_E_UNEXPECTED
COM/RPC encountered an unexpected internal failure
RPC_E_UNEXPECTED is HRESULT 2147614719 (0x8001FFFF) from winerror.h. The documented description is “An internal error occurred.” 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 an internal call-control, marshaling, transport, or object-lifetime failure for which the subsystem exposes no narrower public HRESULT.
What to verify
Verify that the first occurrence is captured with dump, event logs, component versions, call identity, and a minimal reproducer before restarting components. Validate this condition using the owning API state, not an inferred UI symptom.
Correct handling and recovery
Fail the operation safely, preserve diagnostic artifacts, repair component corruption or version skew, and escalate reproducible cases with symbols. Avoid blind infinite retry.
Practical scenario
A reproducible proxy crash returns this code after a product update. A dump identifies a mismatched proxy/stub DLL and deployment restores the coherent component set.
Difference from nearby HRESULTs
It is a catch-all internal failure; specific RPC HRESULTs should be preferred whenever evidence identifies call rejection, timeout, security, threading, or marshaling.
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.
References
Looking for a different code? Search another status or error code.