Cannot find OCI DLL

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
ganand
Posts: 1
Joined: Wed 01 Mar 2006 10:52
Location: India
Contact:

Cannot find OCI DLL

Post by ganand » Thu 02 Mar 2006 06:48

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. :)

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Thu 02 Mar 2006 15:51

ODAC 3.60.1.43 doesn't support Oracle 10g. This support was added in ODAC 5.00.

alish
Posts: 2
Joined: Wed 15 Mar 2006 07:31

Post by alish » Wed 15 Mar 2006 07:40

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.

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Wed 15 Mar 2006 09:49

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.

alish
Posts: 2
Joined: Wed 15 Mar 2006 07:31

Post by alish » Wed 15 Mar 2006 09:49

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.

Luckie
Posts: 2
Joined: Tue 04 Jul 2006 10:16

Post by Luckie » Tue 04 Jul 2006 10:26

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

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Tue 04 Jul 2006 13:00

Please make sure that you set Options.Net property of TOraSession to True.

Luckie
Posts: 2
Joined: Tue 04 Jul 2006 10:16

Post by Luckie » Tue 04 Jul 2006 13:03

Thanks. Now ist works.

Post Reply