Support Requests: Browse | Submit New | Admin

[#11849] Problem interacting with Oracle, registry

Date:
2007-06-26 13:19
Priority:
3
Submitted By:
Daniel Berger (djberg96)
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Problem interacting with Oracle, registry

Detailed description
Hi,

Ruby 1.8.6
Rubyscript2exe 0.5.3

I wrote a program that uses DBI + OCI8. It compiles fine, but when I run the executable I get an NLS_LANG error from
Oracle. This does not happen if I run it from the command line.

The only way that can happen is if it's reading from the registry, because I definitely do NOT have an NLS_LANG environment
variable set. I tried several things - explicitly setting the NLS_LANG environment variable to nil, setting ORACLE_HOME
and/or TNS_ADMIN explicitly, etc.

However, the only thing that worked was to literally rename the NLS_LANG registry entry under
HKEY_LOCAL_MACHINE/Software/Oracle/NLS_LANG.

Why is that happening?

Thanks,

Dan

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item