Print Thread
Alternative location OCI.DLL
#53617 06/17/16 01:19 PM
Joined: Jan 2005
Posts: 19
Utrecht, The Netherlands
F
Member
OP Offline
Member
F
Joined: Jan 2005
Posts: 19
Utrecht, The Netherlands
Hi,

Is it possible to set the location of OCI.DLL to an another location?

Users on our terminalserver cannot see the C:\ drive and therefore Queryreporter cannot load OCI.DLL although the C:\ drive is available.

When running with C:\ drive visible Queryreporter runs whitout any problem.

Regards,
Frank

Re: Alternative location OCI.DLL
Frank Huijbreghs #53620 06/20/16 09:21 AM
Joined: Aug 1999
Posts: 22,211
Member
Offline
Member
Joined: Aug 1999
Posts: 22,211
You can use the OracleHome parameter to specify the name (not a directory or file location) of a specific Oracle Home. For example:

queryreporter.exe OracleHome=OraClient11g_home1

The Oracle Home name must match the name of the Oracle Home as defined in the Oracle Registry.


Marco Kalter
Allround Automations
Re: Alternative location OCI.DLL
Marco Kalter #54004 09/13/16 03:01 PM
Joined: Jan 2005
Posts: 19
Utrecht, The Netherlands
F
Member
OP Offline
Member
F
Joined: Jan 2005
Posts: 19
Utrecht, The Netherlands
hi Kalter,

When i run this:

"C:\Program Files\Query Reporter\queryreporter.exe" OracleHome=KEY_OraClient12Home1

I get this message:

Unknown parameter: ORACLEHOME=

Any suggestions?

Regards,
Frank

Re: Alternative location OCI.DLL
Frank Huijbreghs #54005 09/14/16 08:43 AM
Joined: Aug 1999
Posts: 22,211
Member
Offline
Member
Joined: Aug 1999
Posts: 22,211
You can alternatively use the OCIDLL=<file> parameter:

queryreporter.exe OCIDLL=S:\Oracle\bin\oci.dll

In this case you may also need to set the TNS_ADMIN and NLS_LANG environment variables though.

We'll look into the OracleHome parameter issue.


Marco Kalter
Allround Automations

Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.028s Queries: 14 (0.009s) Memory: 2.5083 MB (Peak: 3.0378 MB) Data Comp: Off Server Time: 2024-05-07 22:21:36 UTC
Valid HTML 5 and Valid CSS