| Previous | Next |
| RPC_E_CANTTRANSMIT_CALL | RPC_E_CLIENT_CANTUNMARSHAL_DATA |
RPC_E_CLIENT_CANTMARSHAL_DATA
RPC_E_CLIENT_CANTMARSHAL_DATA means that the caller could not serialize one or more parameters for a COM call. Invalid pointers, unsupported interface types, incompatible proxy-stub code, or resource exhaustion can cause it.
What to inspect
- Validate pointer lifetime, buffer sizes, and parameter ownership at the call site.
- Check that every custom interface involved has compatible proxy-stub or marshaling support.
- For cross-apartment interface pointers, use normal COM marshaling rather than passing raw pointers between threads.
Because marshaling failed on the client, the target method generally should not be assumed to have received the intended parameters.
Looking for a different code? Search another status or error code.