Error in ORA-12705: cannot access NLS data files or invalid environment specified
Http://blog.sina.com.cn/s/blog_4c17300001009a6g.html
Write a blog, participate in "My 2008-I recorded activities", and win the cash prize!
Register
Login
Workshop post
-
Oracle client installation-free use of PL/SQL, toad for Oracle and other managers to connect Oracle9i, 10g
10:26:44 large
Medium
Small Tag: MiscellaneousOracle client installation-free use of PL/SQL, toad for Oracle and other managers to connect Oracle9i, 10g
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, and then create an admin folder under this folder, and then create a tnsnames. ora file on the service 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 and 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. 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 article reference from: Classification: J2EE developmentComment (0
)
Reading (24
)
Circle
Edit
Print
Report the previous article: Go to the next article on persistent databases supported by hibernate Dialect: remote debugging of tomcat in Linux using eclipse on Windows