Invalid Oracle Home: <nothing>

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Borrisholt
Posts: 3
Joined: Tue 16 Oct 2018 11:32

Invalid Oracle Home: <nothing>

Post by Borrisholt » Wed 24 Oct 2018 12:48

Hi

I'm trying to connect to an Oracle Cloud using TOraSession.

I have set it up the classic way:
FConnection := TOraSession.Create(nil);
FTransaction := TOraTransaction.Create(FConnection);
FTransaction.DefaultSession := FConnection;
FConnection.LoginPrompt := False;
FConnection.ConnectString := GetConnectString;
FConnection.AutoCommit := true;

Im sure, I use the correct ConnectionString, since I've tested it in an UDL file.
But when connection I get an Error message: Invalid Oracle Home: <nothing>. I doesn't write <nothing>. but just an empty string.

In the enviroment settings I have setup ORACLE_HOME and I've added %ORACLE_HOME%\bin to the path.

What am I doing wrong?

MaximG
Devart Team
Posts: 1822
Joined: Mon 06 Jul 2015 11:34

Re: Invalid Oracle Home: <nothing>

Post by MaximG » Wed 24 Oct 2018 13:57

Please make sure that the bitness of your application and a remote Oracle client match in your environment

Post Reply