Home All Groups Group Topic Archive Search About

Oracle access without client tools?

Author
14 Feb 2007 11:03 PM
Jesper
Using ADO.Net, is there any way to connect to an Oracle database without
having the 'Oracle client tools' installed on the client PC?

I can see that if you connect using Oracle.DataAccess.Client or
System.Data.OracleClient, you will need the client tools installed, but what
if you use System.Data.OleDb or System.Data.Odbc?

Performance is not an issue, since I'll just be doing a simple read from a
view with few rows returned. But having client prerequisites is a rather big
issue.

Any simple way to solve this? Possibly just by including a few dll's?

Author
15 Feb 2007 6:53 AM
RobinS
I don't think so. I've always had to install the Oracle Client in order to
access Oracle.

Robin S.
----------------------------------
Show quote
"Jesper" <no@spam.com> wrote in message
news:%23nOoIxIUHHA.5016@TK2MSFTNGP05.phx.gbl...
> Using ADO.Net, is there any way to connect to an Oracle database without
> having the 'Oracle client tools' installed on the client PC?
>
> I can see that if you connect using Oracle.DataAccess.Client or
> System.Data.OracleClient, you will need the client tools installed, but
> what if you use System.Data.OleDb or System.Data.Odbc?
>
> Performance is not an issue, since I'll just be doing a simple read from
> a view with few rows returned. But having client prerequisites is a
> rather big issue.
>
> Any simple way to solve this? Possibly just by including a few dll's?
>
Author
15 Feb 2007 8:54 AM
Miha Markic [MVP C#]
I remember that there was a company that had its own oracle client provider
that was much smaller and easier to install.
I guess you might google a bit around.

--
Miha Markic [MVP C#, INETA Country Leader for Slovenia]
RightHand .NET consulting & development www.rthand.com
Blog: http://cs.rthand.com/blogs/blog_with_righthand/

Show quote
"Jesper" <no@spam.com> wrote in message
news:%23nOoIxIUHHA.5016@TK2MSFTNGP05.phx.gbl...
> Using ADO.Net, is there any way to connect to an Oracle database without
> having the 'Oracle client tools' installed on the client PC?
>
> I can see that if you connect using Oracle.DataAccess.Client or
> System.Data.OracleClient, you will need the client tools installed, but
> what if you use System.Data.OleDb or System.Data.Odbc?
>
> Performance is not an issue, since I'll just be doing a simple read from a
> view with few rows returned. But having client prerequisites is a rather
> big issue.
>
> Any simple way to solve this? Possibly just by including a few dll's?
>
Author
15 Feb 2007 1:00 PM
Paul Clement
On Thu, 15 Feb 2007 00:03:11 +0100, "Jesper" <no@spam.com> wrote:

¤ Using ADO.Net, is there any way to connect to an Oracle database without
¤ having the 'Oracle client tools' installed on the client PC?
¤
¤ I can see that if you connect using Oracle.DataAccess.Client or
¤ System.Data.OracleClient, you will need the client tools installed, but what
¤ if you use System.Data.OleDb or System.Data.Odbc?
¤
¤ Performance is not an issue, since I'll just be doing a simple read from a
¤ view with few rows returned. But having client prerequisites is a rather big
¤ issue.
¤
¤ Any simple way to solve this? Possibly just by including a few dll's?
¤

Only if you're willing to invest in third-party libraries. I believe that the DataDirect and Core
Lab products do not require the Oracle client. They can talk directly to Oracle over TCP/IP w/o
using the OCI API.

The Microsoft and Oracle providers, .NET, OLEDB and ODBC all operate through the Oracle client's OCI
layer.


Paul
~~~~
Microsoft MVP (Visual Basic)
Author
15 Feb 2007 5:34 PM
Mathieu Cartoixa
Jesper a écrit :
Show quote
> Using ADO.Net, is there any way to connect to an Oracle database without
> having the 'Oracle client tools' installed on the client PC?
>
> I can see that if you connect using Oracle.DataAccess.Client or
> System.Data.OracleClient, you will need the client tools installed, but what
> if you use System.Data.OleDb or System.Data.Odbc?
>
> Performance is not an issue, since I'll just be doing a simple read from a
> view with few rows returned. But having client prerequisites is a rather big
> issue.
>
> Any simple way to solve this? Possibly just by including a few dll's?
>
>

You need an Oracle client installed for all "standard" providers
(Microsoft or Oracle, whether through native ADO .NET, ODBC or OLE DB
providers). But I think this client should suffice :
http://www.oracle.com/technology/tech/oci/instantclient/index.html. Only
  a few files. You may have to (manually) set some environment variables
too.

                    Mathieu Cartoixa
Author
18 Feb 2007 3:16 PM
Jesper
Thank you for all the replies.

I've looked into the 'instantclient', which will probably be what I'll end
up using. A bit of a shame that it adds 20Mb to my ClickOnce app, but
definately still preferable over Oracle standard client. The other 3'rd
party clients looked good, but too big a price tag for this project.

AddThis Social Bookmark Button