Skip to Main Content

ODP.NET

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

"ORA-1017: invalid username/password; logon denied"

572474Nov 13 2007 — edited Apr 25 2013
I am running Oracle Database 11g R1.

Oracle.DataAcess.dll 10.2

My code as below:

string oradb = "Data Source=orcldemo;User ID=HR;Password=hr;";
OracleConnection conn = new OracleConnection(oradb);
conn.Open();

I keep on getting error:
"ORA-1017: invalid username/password; logon denied"

But if I tried to access from the same host using Oracle SQL Developer ver 1.2 and using the same username and password then I have no problem at all.

Any help? Thanks

Ming Man
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 23 2013
Added on Nov 13 2007
7 comments
93,081 views