ODAC work in the Enviroment but not in the Run

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
tpcol
Posts: 3
Joined: Fri 18 Aug 2006 04:19

ODAC work in the Enviroment but not in the Run

Post by tpcol » Fri 18 Aug 2006 04:25

Hello,

I have the following Problem:

The Oracle XE database was moved to a new hardware. So I have set the new option in my programm, with the reason: In the Environment I can connect the database without any problems. But on run, there are no connection.
With a new programm, it works fine.

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

Post by Plash » Fri 18 Aug 2006 09:03

Try to move your program to another folder. ODAC can not connect to database if the path to the program contains brackets. This is the limitation of OCI.

tpcol
Posts: 3
Joined: Fri 18 Aug 2006 04:19

Post by tpcol » Fri 18 Aug 2006 16:14

Hello,

I moved the sourcecode to another directory. But no reason. In the enviroment, when I switch the OraSession-Property Connected into TRUE, so I see in all objects the datas. But when I start the programm, I get the message >NET: Service unavailable<.

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

Post by Plash » Mon 21 Aug 2006 09:27

Please inform us whether you use Net option to connect to the database.
Try to make from your program a sample project that demonstrates the problem and send it to us.

tpcol
Posts: 3
Joined: Fri 18 Aug 2006 04:19

Post by tpcol » Wed 23 Aug 2006 18:36

today, I receive the new Version of ODAC (5.70 for Delphi7). Now it works.

Post Reply