Page 1 of 1

Cannot find OCI DLL

Posted: Thu 02 Mar 2006 06:48
by ganand
Hi,

We are developing an application using the version of ODAC 3.60.1.43 for Borland Delphi 5. When we are trying to connect the Oracle 10g client, we have received the error message appears that oci.dll is missing. Please advise how we can resolve this problem.

error message:
Cannot find OCI DLL:

OS: Windows XP/2000/2003
ODAC Version:3.60.1.43

Thanks and Regards,
Anand. :)

Posted: Thu 02 Mar 2006 15:51
by Challenger
ODAC 3.60.1.43 doesn't support Oracle 10g. This support was added in ODAC 5.00.

Posted: Wed 15 Mar 2006 07:40
by alish
challenger wrote:ODAC 3.60.1.43 doesn't support Oracle 10g. This support was added in ODAC 5.00.
Although I use the version of ODAC 5.70.0.29 for Borland Delphi 7 (Net), I have the same problem. Error in odac70.bpl - "Cannot find OCI DLL".
This version of ODAC works with Oracle 9i client, but when I install Oracle 10G client it stops working.
Please advise.

OS: Windows 2000 Pro Sp4

Best regards,
Alisher.

Posted: Wed 15 Mar 2006 09:49
by Challenger
Please check that your Oracle 10g client is properly installed and try to connect to Oracle 10g sever via other data provider, for example, BDE.

Posted: Wed 15 Mar 2006 09:49
by alish
Sorry, my fault!
I've changed the Oracle Bin directory in the system variable "PATH" to correct one and it works now.

Best regards,
Alisher.

Posted: Tue 04 Jul 2006 10:26
by Luckie
I'm using the Oracle Data Access Components "ODAC Net Edition version 5.70 for Delphi 2006"(Trial). The key feature list reads:
Doesn't require Oracle's software on client side with Net option and works directly through TCP/IP;
But if I try to connect to an Oracle database I still get the error message:
Project Project1.exe raised exception class Exception with message 'Cannot find OCI DLL: oci.dll'.
Development enviroment:
BDS 2006
VCL Application for Win32

Posted: Tue 04 Jul 2006 13:00
by Challenger
Please make sure that you set Options.Net property of TOraSession to True.

Posted: Tue 04 Jul 2006 13:03
by Luckie
Thanks. Now ist works.