Following code throws: ORA-01017: invalid username/password; logon denied
string constr = "User Id=Name;Password=Password;Data Source=server:1521/service";
OracleConnection con = new OracleConnection(constr);
con.Open();
SQL Developer, DBeaver connects without problems. FIPS is disabled.
System:
- Oracle Server 11g (11.2.0.3.0)
- Oracle.ManagedDataAccess 19.6.0
- .Net Framework 4.8
- Windows 10 1909
I would be very thankful for any help!
I don' think that is a valid data source descriptor for ODP.net. See:
https://stackoverflow.com/a/31592492/852208
Edited: It looks like you are using the ezconnect format, but that requires the username and password to be inline: https://www.connectionstrings.com/oracle-data-provider-for-net-odp-net/using-the-easy-connect-naming-method-aka-ez-connect/