| Previous | Next |
| STATUS_TRANSACTION_INVALID_TYPE | STATUS_NOT_CLIENT_SESSION |
STATUS_NOT_SERVER_SESSION
A server-only transport operation was issued on a client session
Legacy transport interfaces distinguished endpoints that accepted incoming sessions from endpoints that initiated client connections. This status means the requested operation is valid only for the server side, but the supplied session context represents the client side.
The failure is a role or state mismatch, not a connectivity problem. Check which endpoint created the context and which transition assigned its role. Retrying on the same session will not change that role; the caller must select the server-side context or use the corresponding client operation.
What to inspect
- Record the transport request and the endpoint role stored in its context.
- Trace session creation, accept, and connect transitions.
- Reject role-incompatible calls before submitting them to the transport.
References
- Microsoft Open Specifications: NTSTATUS values
- Microsoft: TDI_SET_EVENT_HANDLER
- Microsoft: TdiBuildDisconnect
Looking for a different code? Search another status or error code.
