| Previous | Next |
| STATUS_CONNECTION_INVALID | STATUS_NETWORK_UNREACHABLE |
STATUS_CONNECTION_ACTIVE
The connection is active and cannot accept this operation
These statuses describe transport endpoint and connection state. For STATUS_CONNECTION_ACTIVE, they can appear below higher-level file sharing, DFS, redirector, RPC, or networking code before the error is translated to Win32 or Winsock form.
Some operations are valid only before connect or after disconnect. This status means the connection is still active, so the requested state transition or configuration change is not allowed.
For STATUS_CONNECTION_ACTIVE, for diagnostics, capture the endpoint address, address family, connection object, local and remote close/reset events, timeout, route, ICMP condition when available, and the higher-level component that issued the transport request.
What to inspect
- Check whether the operation should run before connect.
- Close or disconnect before changing connection-only-on-idle state.
- Look for races between active I/O and reconfiguration.
References for STATUS_CONNECTION_ACTIVE
- Microsoft Open Specifications: NTSTATUS values
- Microsoft: Windows Sockets error codes
- Microsoft Open Specifications: DFS client product behavior
Looking for a different code? Search another status or error code.