0

I need some help here. I keep getting the same error over and over again. And I can't understand why I am getting this error while in fact I am using the correct username and password with write capitalization.

I am encountering this problem in attaching dataset in my datagridview

'TODO: This line of code loads data into the 'DataSet1.TENANT' table. You can move, or remove it, as needed.
           Me.TENANTTableAdapter.Fill(Me.DataSet1.TENANT)

cnn = New OleDb.OleDbConnection
cnn.ConnectionString = "Provider=MSDAORA;Data Source=xe;Persist SecurityInfo=True;Password=me;User ID=cj"

I am encounting the error in line #2 which says:

ORA-01017: invalid username/password; logon denied

Please help.

3
Contributors
3
Replies
4
Views
4 Years
Discussion Span
Last Post by poojavb
0

Does it work if you add a semicolon after User ID:
"Provider=MSDAORA;Data Source=xe;Persist SecurityInfo=True;Password=me;User ID=cj;"

0

User ID comes first....

"Provider=_______;Data Source=_________;User Id=__________;Password=__________;"

Edited by poojavb

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.