Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2009-07-14
3
Medium Priority
?
2,635 Views
Last Modified: 2012-05-07
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?
0
Comment
Question by:dayiku
3 Comments
 
LVL 16

Accepted Solution

by:
The_Kirschi earned 260 total points
ID: 24848476
0
 
LVL 12

Assisted Solution

by:Nirmalan Nagenthiran
Nirmalan Nagenthiran earned 240 total points
ID: 24848510
0
 

Author Comment

by:dayiku
ID: 24849642
Thanks, that helped me a lot.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question