What does NTSTATUS 0xC0030059 (RPC_NT_INVALID_ES_ACTION) mean?

 
Previous Next
RPC_NT_BAD_STUB_DATA RPC_NT_WRONG_ES_VERSION

RPC_NT_INVALID_ES_ACTION

Invalid RPC serialization handle action

RPC_NT_INVALID_ES_ACTION belongs to Microsoft RPC serialization services. Serialization uses explicit encode/decode handles so data can be marshaled to or unmarshaled from caller-controlled buffers instead of being sent as a normal remote call.

This status means the action does not match the state or direction of the serialization handle. For example, decode-style operations on an encode handle, repeated operations after cleanup, or the wrong procedure-serialization path can trigger it.

What to check

  • Check whether the handle was created for encoding or decoding and whether the same handle is reused after completion.
  • Verify use of [encode] and [decode] attributes in the IDL path being exercised.
  • Separate serialization failures from live RPC transport failures; no server call may have been attempted.

References


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