| Previous | Next |
| RPC_NT_WRONG_ES_VERSION | RPC_NT_INVALID_PIPE_OBJECT |
RPC_NT_WRONG_STUB_VERSION
Incompatible RPC stub version
RPC_NT_WRONG_STUB_VERSION means the generated RPC stub layer is not compatible with the runtime path or marshaled data it is handling. The stubs are the code generated from IDL that marshal and unmarshal call parameters.
A common root cause is version skew: one side was rebuilt from changed IDL, proxy/stub DLLs were not updated together, or an old serialized payload is decoded with new stub metadata. Retrying the call does not correct incompatible generated code.
What to check
- Confirm the IDL, ACF, MIDL compiler options, generated headers, and proxy/stub DLLs all come from the same build.
- Check whether the failure occurs only across machines with different component versions.
- If serialization services are involved, test with freshly encoded data after rebuilding both encoder and decoder.
References
Looking for a different code? Search another status or error code.
