Closed murat16ertekin closed 1 month ago
When the client version is set in the OnConfiguring method in the DbContext class, the connection is established once and then it gives an error again.
OracleConfiguration.SqlNetAllowedLogonVersionClient = OracleAllowedLogonVersionClient."ORACLE_VERSION"
The problem was solved when the client version was set in the OnModelCreating method in the DbContext class.
OracleConfiguration.SqlNetAllowedLogonVersionClient = OracleAllowedLogonVersionClient.ORACLE_VERSION
Duplicate of https://github.com/oracle/dotnet-db-samples/issues/379
Happy to see you were able to resolve the issue.
Hello;
In our project where we work with Oracle 12c version and in our project developed with .Net 8; I upgraded the Oracle.EntityFrameworkCore version from 8.21.140 to 8.23.40 and started getting errors when connecting to the database. The error is caused by outdated Oracle versions being out of support by default.