Getting OCI_INVALID_HANDLE After OCILogon With OCI_SUCCESS_WITH_INFO.
Last updated on DECEMBER 03, 2017
Applies to:Oracle Server - Enterprise Edition - Version 10.1.0.2 to 188.8.131.52 [Release 10.1 to 11.1]
Information in this document applies to any platform.
When try to connect to an user in grace period get a warning like, "ORA-28002: the password will expire within 55 days"
When use OCILogon does return with OCI_SUCCESS_WITHINFO go get a connection expect to get a valid handle if the call was successful.
OCILogon does return with OCI_SUCCESS_WITHINFO - which is considered to be a success for all practical purpose expect that there is an associated warning or information. But OCILogon is not returning us a valid handle, hence any subsequent OCI call fails with "Invalid handle"
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms