Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
-
jjeffman
- Posts: 84
- Joined: Tue 09 Nov 2004 12:22
- Location: Porto Alegre-Rio Grande do Sul - Brazil
Post
by jjeffman » Tue 09 Jun 2009 12:42
Hello.
I am using ODAC 6.70.0.41 on C++Builder 6 Professional Edition.
The application I have made using ODAC works perfectly in the
develop environment. When I have tried it on the end user environment
I have got the error "Can't find OCI.DLL".
I have ran the Windows Regedit application to check if there was an
Oracle Client installation. The Oracle registry keys were all in the
Windows Registry. The file path shown in the Registry actually exists
and the OCI.DLL is placed where it should be.
I can connect using Direct mode.
Why am I getting that error ? Do you have any clue ?
The Oracle Client installation type is a minimum one I guess. They
do not install any Oracle client applications like SQL*Plus and others
for security matters.
Thanks.
-
Plash
- Devart Team
- Posts: 2844
- Joined: Wed 10 May 2006 07:09
Post
by Plash » Tue 09 Jun 2009 12:48
Please check that the path to OCI.dll is present in the PATH environment variable.
-
jjeffman
- Posts: 84
- Joined: Tue 09 Nov 2004 12:22
- Location: Porto Alegre-Rio Grande do Sul - Brazil
Post
by jjeffman » Tue 09 Jun 2009 13:08
It is present and it is the first path in the windows PATH variable.
-
Plash
- Devart Team
- Posts: 2844
- Joined: Wed 10 May 2006 07:09
Post
by Plash » Fri 12 Jun 2009 06:48
Maybe the installation of Oracle client is corrupted. Please try to make a test project that loads OCI.dll using the LoadLibrary function. Check if you can load OCI.dll in the test project.
If the DLL cannot be loaded, maybe reinstalling the Oracle client will resolve the problem.
-
shalamberidze
- Posts: 1
- Joined: Sat 13 Jun 2009 18:10
Post
by shalamberidze » Sat 13 Jun 2009 18:13
Check permission on oracle_HOME directory. Maybe you test your app in administrator mode but work with user privileges