[Oracle] [Oracle client without installation] ORA-12705: cannot access NLS data files or invalid environment specified Error

Source: Internet
Author: User

Error in ORA-12705: cannot access NLS data files or invalid environment specified

 
Oracle client installation-free use of PL/SQL, toad for Oracle and other managers to connect Oracle9i, 10g, 11g

As we all know, the oralce client is several hundred megabytes too large, and there are many dir processing on the Internet. Here we use the official oralce toolkit Instant Client package!

: Http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html

1: download this, Instant Client package-Basic Package. Decompress the package to any directory such as F:/oracleclient, create a network folder under this directory, create an admin folder under this folder, and then create tnsnames on the service. add the ora file to this directory and modify the IP address;

2: Add ORACLE_HOME = F:/oracleclient to change the environment variable; add F:/oracleclient to change the path environment variable;

3: Start PL/SQL. When oralce logon presses cancel calcel, open PL/SQL-"perference to set OCI library and ORACLE_HOME. My settings are OCI library = F: /oracleclient/OCI. DLL, ORACLE_HOME = F:/oracleclient. Log out and log on again. Login prompt if Oracle Instant Client appears ORA-12705: cannot access NLS data files or invalid environment specified error. Modify as follows:

For Windows, the/HKEY_LOCAL_MACHINE/software/Oracle search key nls_lang in the registry is created by installing the Oracle standard client with the value of Na. This caused a ORA-12705 error. The solution is to change na to simplified chinese_china.zhs16gbk. Of course, you can also add nls_lang = simplified chinese_china.zhs16gbk to the environment variable.
 
In Linux, if the environment variable nls_lang value is Na will cause a ORA-12705 error, the solution is to modify set nls_lang = simplified chinese_china.zhs16gbk

 

The specific setting method can also be referred here: http://blog.csdn.net/xys_777/archive/2010/08/03/5784296.aspx

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.