| Previous | Next |
| RPC_X_WRONG_ES_VERSION | RPC_X_INVALID_PIPE_OBJECT |
RPC_X_WRONG_STUB_VERSION
Client, server, or proxy stubs were built for incompatible versions
RPC_X_WRONG_STUB_VERSION points to generated proxy/stub compatibility rather than the application protocol’s own version field. The runtime encountered stub metadata or wire expectations that do not match the component on the other side or the serialization data being consumed.
Compare interface UUID and major/minor version, MIDL-generated files, architecture, compiler target, NDR/NDR64 options, and deployed DLL versions. Partial upgrades are a common cause when an executable and its proxy/stub module come from different releases. Re-registering endpoints cannot fix mismatched generated code.
What to inspect
- Hash and version every deployed proxy/stub binary at both endpoints.
- Rebuild all generated artifacts from the same IDL revision.
- Check side-by-side loading and COM/RPC proxy registration paths.
References
- Microsoft: NDR and NDR64 generated stubs
- MS-RPCE: strict NDR behavior and compiler targets
- Microsoft: wrong-stub-version status
Looking for a different code? Search another status or error code.