dbTalk Databases Forums  

Connecting through ODBC or OLE DB

comp.databases.oracle.tools comp.databases.oracle.tools


Discuss Connecting through ODBC or OLE DB in the comp.databases.oracle.tools forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rodrigo
 
Posts: n/a

Default Connecting through ODBC or OLE DB - 10-20-2009 , 06:57 AM






I'm trying to connect to my databases from a XP box to a HP-UX server
with Oracle 10g, either through ODBC or OLE DB. I've tried almost
everything and still can't connect to it.

I have both the Microsoft driver and the Oracle driver, and also the
Oracle Instant client installed in the XP box, with a tnsnames.ora
file that points to the server, ORACLE_HOME variable set up, etc.

I know that it's accesible because I can connect from this same
machine with JDBC Oracle Thin Client (ojdbc6.jar). This driver deesn't
even need the Oracle client installed in the local machine. I just
specified IP, port, SID, user, pass and it works. But the programs I
need to use don't support JDBC.

Do you have any connection string that works for you? I've tried the
ones in connectionstrings.com and carlprothman.net but I think they're
not intended for connecting to a remote server...

Reply With Quote
  #2  
Old   
fitzjarrell@cox.net
 
Posts: n/a

Default Re: Connecting through ODBC or OLE DB - 10-24-2009 , 05:23 PM






On Oct 20, 5:57*am, rodrigo <rodrigo.ol... (AT) gmail (DOT) com> wrote:
Quote:
I'm trying to connect to my databases from a XP box to a HP-UX server
with Oracle 10g, either through ODBC or OLE DB. I've tried almost
everything and still can't connect to it.

I have both the Microsoft driver and the Oracle driver, and also the
Oracle Instant client installed in the XP box, with a tnsnames.ora
file that points to the server, ORACLE_HOME variable set up, etc.

I know that it's accesible because I can connect from this same
machine with JDBC Oracle Thin Client (ojdbc6.jar). This driver deesn't
even need the Oracle client installed in the local machine. I just
specified IP, port, SID, user, pass and it works. But the programs I
need to use don't support JDBC.

Do you have any connection string that works for you? I've tried the
ones in connectionstrings.com and carlprothman.net but I think they're
not intended for connecting to a remote server...
You failed to post the error code and message; was there a good reason
for not doing so? Absent such information no one can tell you why the
ODBC/OLEDB connection won't work.


David Fitzjarrell

Reply With Quote
  #3  
Old   
Mark D Powell
 
Posts: n/a

Default Re: Connecting through ODBC or OLE DB - 10-24-2009 , 05:34 PM



On Oct 24, 5:23*pm, "fitzjarr... (AT) cox (DOT) net" <orat... (AT) msn (DOT) com> wrote:
Quote:
On Oct 20, 5:57*am, rodrigo <rodrigo.ol... (AT) gmail (DOT) com> wrote:





I'm trying to connect to my databases from a XP box to a HP-UX server
with Oracle 10g, either through ODBC or OLE DB. I've tried almost
everything and still can't connect to it.

I have both the Microsoft driver and the Oracle driver, and also the
Oracle Instant client installed in the XP box, with a tnsnames.ora
file that points to the server, ORACLE_HOME variable set up, etc.

I know that it's accesible because I can connect from this same
machine with JDBC Oracle Thin Client (ojdbc6.jar). This driver deesn't
even need the Oracle client installed in the local machine. I just
specified IP, port, SID, user, pass and it works. But the programs I
need to use don't support JDBC.

Do you have any connection string that works for you? I've tried the
ones in connectionstrings.com and carlprothman.net but I think they're
not intended for connecting to a remote server...

You failed to post the error code and message; was there a good reason
for not doing so? *Absent such information no one can tell you why the
ODBC/OLEDB connection won't work.

David Fitzjarrell- Hide quoted text -

- Show quoted text -
rodrigo, the full exact version of Oracle on both boxes and the bit
factor, 32 vs 64, would also be useful information.

HTH -- Mark D Powell --

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.