What does HRESULT 0x80090306 (SEC_E_NOT_OWNER) mean?

 
Previous Next
SEC_E_SECPKG_NOT_FOUND SEC_E_CANNOT_INSTALL

SEC_E_NOT_OWNER

SEC_E_NOT_OWNER signals this condition: The caller does not own the credential handle it attempted to use. This is usually an application context-lifetime or impersonation-boundary error. A credential handle created by one security context cannot be reused arbitrarily by another caller or session.

What to check

  • Trace where the credential handle was acquired, stored, duplicated, and released.
  • Check whether the request crossed a process, user-token, or impersonation boundary.
  • Create or acquire credentials in the same security context that will use them instead of caching opaque handles across identities.

Microsoft: SSPI status codes

Microsoft: InitializeSecurityContext


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