Page 1 of 1
OCI and executable path limitations
Posted: Tue 28 Jun 2016 08:56
by pcz
Hello
It seems that executables that use OCI have some strange limitations...
Launching exe file from directory that contains
round brackets in directory name always results with
ORA-12154...
Why?...
Regards
P.C.
PS. Related topic:
viewtopic.php?f=5&t=33886
Re: OCI and executable path limitations
Posted: Thu 30 Jun 2016 12:04
by AlexP
Hello,
Please specify the exact version of the Oracle client you use. We have checked the OCI mode connection on Oracle Client 11.2.0.1 and found any problems. However, when using Oracle Client 10, if an application is in the directory incuding brackets, the application cannot connect to Oracle, as it cannot find the tnsnames.ora file. Please try moving your application to the root of any disk and running it - if the problem doesn't recur, you should update your Oracle Client
Re: OCI and executable path limitations
Posted: Thu 30 Jun 2016 13:07
by pcz
AlexP wrote:Hello,
Please specify the exact version of the Oracle client you use. We have checked the OCI mode connection on Oracle Client 11.2.0.1 and found any problems. However, when using Oracle Client 10, if an application is in the directory incuding brackets, the application cannot connect to Oracle, as it cannot find the tnsnames.ora file. Please try moving your application to the root of any disk and running it - if the problem doesn't recur, you should update your Oracle Client
You are right - I'm doing tests on machine with OCI 9.x.
Re: OCI and executable path limitations
Posted: Thu 30 Jun 2016 14:25
by AlexP
Unfortunately, old Oracle clients (up to 10 inclusively) don't work when using such a path.
Re: OCI and executable path limitations
Posted: Mon 04 Jul 2016 06:21
by pcz
OK
Thanks for confirmation!

Re: OCI and executable path limitations
Posted: Mon 04 Jul 2016 08:14
by AlexP
Feel free to contact us if you have any further questions.