Page 1 of 1

Connecting Delphi 2009 + Oracle in OracleDirect mode

Posted: Wed 18 Mar 2009 19:33
by eliseu_corrona
Hi
I wonder if I can help you with a small problem. I am testing the library DBExpress connection with Oracle but I am not able connect to my oracle delphi 2009 by using the dbexpoda40.dll.
I have Oracle 10g (ver. 10.2.0.3). My service database is ORCL, port 1521 and access it on my own machine (localhost or 127.0.0.1). But I managed to create a connection string to carry out the correct connection.

Grateful if you could send me an example where the string work.

Regarts,

Eliseu Corrona.

Posted: Thu 19 Mar 2009 09:16
by Plash
You assign the following value to the DataBase parameter:

localhost:1521:ORCL

Connecting Delphi 2009 + Oracle

Posted: Thu 19 Mar 2009 12:32
by eliseu_corrona
Hi Plash, I used your suggestion too, but don't work. The erro generated is

NET: Invalid Host;

I'd like sent to you my sample in delphi for you available this problem. I tried almost all the changes, but the error persists.

Thank you.

Posted: Thu 19 Mar 2009 12:40
by eliseu_corrona
I'll found the problem. Thanks for all help. The problem was my DbxConnection.ini, it's corrupt. I replaced with the backup
and the problem was resolved.

Thank's.