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

Source: Internet
Author: User

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: Miscellaneous

    Oracle 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 development

    Comment (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

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.