"Invalid Home Name" error with ODAC

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
bakus
Posts: 3
Joined: Mon 18 May 2015 08:03

"Invalid Home Name" error with ODAC

Post by bakus » Mon 18 May 2015 08:27

Im using ODAC 9.5.15 to connect to Oracle from Delphi.
If I install my application on a machine with Oracle Instant Client installed, it works OK, but when I install it on a machine with Oracle database (so no instant client needed), I get the following error: "Invalid Home Name:".

Is this issue somehow related to this one?
Do you have any suggestions how to fix this problem without installing oracle instant client?

bakus
Posts: 3
Joined: Mon 18 May 2015 08:03

Re: "Invalid Home Name" error with ODAC

Post by bakus » Mon 18 May 2015 09:47

Maybe I was wrong, maybe it's something related to Oracle's version.
On machine with Oracle 10g DB everything works fine, troubles appear only with Oracle 11g and 12g.

Im using the Oracle Instant Client 10g where I dont get any errors.
With Oracle Instant Client 11 connection works as well.
With Oracle Instant Client 12 I get the same error once again.

bakus
Posts: 3
Joined: Mon 18 May 2015 08:03

Re: "Invalid Home Name" error with ODAC

Post by bakus » Tue 19 May 2015 06:45

I figured out where the issue was. The app was compiled for win 32-bit platform, thats why it requires 32-bit Oracle Instant Client or 32-bit Oracle Database to be installed. I had 64-bit versions...

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: "Invalid Home Name" error with ODAC

Post by AlexP » Tue 19 May 2015 07:11

Hello,

If the application is 64-bit, then the 64-bit client will be used, if the application is 32-bit - the 32-bit client.

Post Reply