Page 1 of 1

Can't initialize OCI. Error -1

Posted: Thu 21 Nov 2013 10:10
by AlexV
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

Re: Can't initialize OCI. Error -1

Posted: Thu 21 Nov 2013 11:08
by AlexP
Hello,

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

Re: Can't initialize OCI. Error -1

Posted: Thu 21 Nov 2013 11:53
by AlexV
It's x86

Re: Can't initialize OCI. Error -1

Posted: Mon 25 Nov 2013 09:34
by AlexP
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