Friday, August 28, 2020

ORA-28040: No matching authentication protocol

Detail
Oracle installed - 12 C, General install on Developer machine

Error
ORA-28040: No matching authentication protocol

Reason could be
No authentication protocol defined for either oracle client or oracle server.

Solution
I have identified 2 solution as during fix of this error

One is we can set the parameter in sqlnet.ora file "ALLOWED_LOGON_VERSION_SERVER", where we can specify the minimum number of authentication protocol can connect to oracle database. you can set below parameter as per the requirement.

SQLNET.ALLOWED_LOGON_VERSION_SERVER=10
SQLNET.ALLOWED_LOGON_VERSION_CLIENT=10

2nd thing i observed, If oracle server is 12C and you are creating connection in any of tool using OJDBC6.jar file then i suggest to update your jar file to OJDBC7.jar  which can also able to resolve the problem.

No comments:

Post a Comment

web stats