What does HRESULT 0x80010009 (RPC_E_INVALID_DATAPACKET) mean?

 
Previous Next
RPC_E_CLIENT_DIED RPC_E_CANTTRANSMIT_CALL

RPC_E_INVALID_DATAPACKET

RPC_E_INVALID_DATAPACKET means that COM rejected malformed marshaled call data before a normal method invocation could proceed. It points to a proxy or marshaling compatibility problem, not an ordinary application-level validation error.

What to inspect

  • Verify that client and server use compatible interface definitions and proxy-stub registrations.
  • For custom marshaling, validate the serialized layout, length fields, and version handling.
  • Check that deployment did not mix binaries built from different IDL or type-library versions.

Do not try to reinterpret the packet in application code; correct the interface or marshaler that produced it.

Microsoft: COM documentation


Looking for a different code? Search another status or error code.