What does NTSTATUS 0xC0000140 (STATUS_INVALID_CONNECTION) mean?

 
Previous Next
STATUS_LINK_TIMEOUT STATUS_INVALID_ADDRESS

STATUS_INVALID_CONNECTION

The transport connection handle is not valid

Validate the connection object and its lifecycle at the failing API. A stale, not-yet-connected, or already-torn-down object should be fixed at its owner rather than retried blindly.

The caller supplied a connection object or handle that the transport cannot use. This is usually a lifetime or handle-management problem rather than a network outage.

What to inspect

  • Trace connection object creation and teardown.
  • Check for use-after-close or stale cached connection handles.
  • Confirm the handle belongs to the expected transport endpoint.

References for STATUS_INVALID_CONNECTION


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