How to resolve error "Keyword not supported: 'dsn'" when connecting to oracle db
Posted on 2009-07-14
I am trying to connect to an oracle database (9i) through ASP.NET C# (2.0)
My DSN is as follows, DSN=DB_CONNECT;uid=mrtest;pwd=password87;Connect Timeout=120
Whenever i run the program and it gets to the line below,
SqlConnection conn = new SqlConnection(connstr);
i get an error message of "Keyword not supported: 'dsn'"
Can somebody tell me how to resolve this?