[solved] Zeos 7.0.0-dev cannot connect to Oracle 8i

The alpha/beta tester's forum for ZeosLib 7.0.x series

Report problems concerning our Delphi 2009+ version and new Zeoslib 7.0 features here.

This is a forum that will be removed once the 7.X version goes into stable!!

Moderators: gto, EgonHugeist, olehs

Locked
TomiB
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 05.11.2012, 08:24

[solved] Zeos 7.0.0-dev cannot connect to Oracle 8i

Post by TomiB »

Hello everybody,

this is my first post so sorry for mistakes in advance. I need your help regarding connection to oracle 8i using zeos 7.0.0. I try to connect in design time, but still occur error : ORA-12154. PC client is Win XP Pro SP3 with unzipped instantclient 10.2. I tried to connect via following TNSNAMES.ORA:

Code: Select all

ORCL =
  (DESCRIPTION =
    (ADDRESS_LIST =
      (ADDRESS = (PROTOCOL = TCP)(HOST = XXX.XXX.XXX.XXX)(PORT = 1521))
    )
    (CONNECT_DATA =
      (SERVER = DEDICATED)
      (SERVICE_NAME = ORCL)
    )
  )
I have set TNS_ADMIN to instantclient files (include tnsnames.ora).
TZConnection properties are following:

Database : ORCL
HostName:
Password : 123456
UserName : XXX
Port : 0
Protocol : Oracle

Others are set to default.
Using the TOAD connection have no problem.
Thanks much for any idea.
User avatar
EgonHugeist
Zeos Project Manager
Zeos Project Manager
Posts: 1936
Joined: 31.03.2011, 22:38

Post by EgonHugeist »

TomiB,

AFAIK does our plain implementation work for Oracle9+. But i know about users which had success with Oracle8 too.

I personally use Oracle11 for the development. My first advice would be: Please use our SVN or download Zeos7.0.1-Beta to be on the same bandwidth.

Question: which connection library is used for Oracle8? OCI.dll? On the other hand download the Beta and use TZConnection.LibraryLocation := 'your.dll instead. That forced Zeos to load another library.

Your connection parameters looking ok for me. Did you try to set the port and ip too?
Best regards, Michael

You want to help? http://zeoslib.sourceforge.net/viewtopic.php?f=4&t=3671
You found a (possible) bug? Use the new bugtracker dude! http://sourceforge.net/p/zeoslib/tickets/

Image
TomiB
Fresh Boarder
Fresh Boarder
Posts: 2
Joined: 05.11.2012, 08:24

Post by TomiB »

Thanks EgonHugeist for advice. Change of program versions to Zeos7.0.1-Beta has solved my problem. After setting LibraryLocation property, connection with ORACLE 8i working well.
Locked