Can't initialize OCI. Error -1

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for Oracle in Delphi and C++Builder
Post Reply
AlexV
Posts: 2
Joined: Thu 21 Nov 2013 10:01

Can't initialize OCI. Error -1

Post by AlexV » Thu 21 Nov 2013 10:10

Hello,

I get the Error "Can't initialize OCI. Error -1" whenever i try to connect to an Oracle Instance through the dbExpress Oracle driver.

My Versions are:
dbexpoda.dll : 4.90.0.25
oci.dll : 11.2.0.1
Oracle : 10.2.0
Windows Server 2008 R2 Standard SP1
My Application is 32Bit

Please let me know, what other information you need.

Thanks in advance
Alex

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

Re: Can't initialize OCI. Error -1

Post by AlexP » Thu 21 Nov 2013 11:08

Hello,

Please specify, which Oracle client have you installed: x64 or x32?

AlexV
Posts: 2
Joined: Thu 21 Nov 2013 10:01

Re: Can't initialize OCI. Error -1

Post by AlexV » Thu 21 Nov 2013 11:53

It's x86

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

Re: Can't initialize OCI. Error -1

Post by AlexP » Mon 25 Nov 2013 09:34

Hello,

Make sure that data about the installed Oracle client is added to the registry branch: HKEY_LOCAL_MACHINE\SOFTWARE\ORACLE; as well as to Windows environment variables. In addition, check if the Oci.dll library is available in the path specified in the registry and environment variables

Post Reply