What does NTSTATUS 0xC000002E (STATUS_INVALID_PORT_ATTRIBUTES) mean?

 
Previous Next
STATUS_NOT_COMMITTED STATUS_PORT_MESSAGE_TOO_LONG

STATUS_INVALID_PORT_ATTRIBUTES

The port object attributes are not valid for this IPC request

These statuses come from the native NT port message path used by low-level Windows IPC. For STATUS_INVALID_PORT_ATTRIBUTES, they are about port object attributes, connection handles, and message size constraints, not about TCP ports.

This status is about the native port setup contract. It can be returned when object attributes passed to port creation or port attributes passed to a connection request do not match what the kernel expects.

For STATUS_INVALID_PORT_ATTRIBUTES, when debugging this class of status, keep the native API that failed, the port handle type, the connection state, the object attributes used to create or connect the port, and the message length that was sent.

What to inspect

  • Inspect the object attributes and port attributes passed to the failing call.
  • Check structure sizes and flag combinations.
  • Do not confuse this with a TCP port number problem.

References for STATUS_INVALID_PORT_ATTRIBUTES


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