Link to home
Start Free TrialLog in
Avatar of dayiku
dayiku

asked on

How to resolve error "Keyword not supported: 'dsn'" when connecting to oracle db

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?
ASKER CERTIFIED SOLUTION
Avatar of Member_2_3654191
Member_2_3654191
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of dayiku
dayiku

ASKER

Thanks, that helped me a lot.