ORA-1017: invalid username/password; logon denied
The developer might hit the error above if they are using the follow configuration:
– Oracle Database 11g Release 1
– ODP.NET 10.2 (Oracle.DataAcess.dll 10.2)
– The code like below:
string oradb = "Data Source=orcldemo;Persist Security Info=True;User ID=HR;Password=hr;";
OracleConnection conn = new OracleConnection(oradb); // C#
conn.Open();
Thanks to Mark William point me to the new feature of Oracle Database 11g “Oracle Database Built-in Password Protections?” (http://download.oracle.com/docs/cd/B28359_01/network.111/b28531/authentication.htm#CHDJDCGI)
After issued the follow command with the HR login to through Oracle SQL Developer the C# code runs with error.
ALTER SYSTEM SET SEC_CASE_SENSITIVE_LOGON = FALSE
Good Job….
thank u