I have created a windows form with certain fields. I am trying to interact with oracle database through ODBC DSN connections.
I have an issue in the below connection
I ran into a similar problem with an entity framework connection string. While I was not using an OdbcConnection I thought I would add what worked for me to help anyone with my issue that was similar.
We had a password created with a semicolon in it. And it broke our entity framework connection string. The error was:
'Keyword not supported: '[rest of password after semicolon];multipleactiveresultsets'.'
I resolved the issue by placing single quotes (') around the username and password fields. The result was a connection string that contained the following:
initial catalog=myDB;User
Id='MyUser';Password='abc;123';multipleactiveresultsets=True;