|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Oracle access without client tools?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? 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? > 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. -- Show quoteMiha Markic [MVP C#, INETA Country Leader for Slovenia] RightHand .NET consulting & development www.rthand.com Blog: http://cs.rthand.com/blogs/blog_with_righthand/ "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? > 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) Jesper a écrit :
Show quote > Using ADO.Net, is there any way to connect to an Oracle database without You need an Oracle client installed for all "standard" providers > 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? > > (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 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. |
|||||||||||||||||||||||