.net Connecting to Oracle

I

Ian Walsh

I'm a bit new to using Oracle from .Net, tend to use SQLServer mostly.
I'm just looking for a bit of advice.

What do you need to get a connection working from .Net to Oracle. Do I
need to install the Oracle Client on my machine? The code I have is
looking for oci.dll, which I currently don't have.

Would what I install on the client change if I use the OLEDB or ODBC
components instead of the Microsoft Oracle data provider?

Thanks in advance.
 
M

Miha Markic [MVP C#]

Ian Walsh said:
I'm a bit new to using Oracle from .Net, tend to use SQLServer mostly.
I'm just looking for a bit of advice.

What do you need to get a connection working from .Net to Oracle. Do I
need to install the Oracle Client on my machine? The code I have is
looking for oci.dll, which I currently don't have.

Yes, you need oracle client at least 8.1.6 (7 is recommned minimum),
Would what I install on the client change if I use the OLEDB or ODBC
components instead of the Microsoft Oracle data provider?

No, you would still need oracle client.
 
G

Guest

You need the OracleClient software. Watch out if you are using 10g, as the
OracleClient does not work with it. You need ODP.NET instead.

As for can you get around client install. Only by connecting to Oracle
through some means other than a normal client connection (like web services
on the Oracle server). I would not aim for coding around this.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top