Connecting Delphi 2009 + Oracle in OracleDirect mode

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply
eliseu_corrona
Posts: 11
Joined: Wed 18 Mar 2009 19:25
Location: Brazil

Connecting Delphi 2009 + Oracle in OracleDirect mode

Post by eliseu_corrona » Wed 18 Mar 2009 19:33

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.

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Thu 19 Mar 2009 09:16

You assign the following value to the DataBase parameter:

localhost:1521:ORCL

eliseu_corrona
Posts: 11
Joined: Wed 18 Mar 2009 19:25
Location: Brazil

Connecting Delphi 2009 + Oracle

Post by eliseu_corrona » Thu 19 Mar 2009 12:32

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.

eliseu_corrona
Posts: 11
Joined: Wed 18 Mar 2009 19:25
Location: Brazil

Post by eliseu_corrona » Thu 19 Mar 2009 12:40

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.

Post Reply