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.

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

still experiencing the same problem sir :(

User ID comes first....

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

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.