ORA-12705: Cannot access NLS data files or invalid environment specified,ora-12705nls
如果是因为配置oracle客户端引起的事故,就尝试着吧环境变量中的NLS_LANG直接删除即可的。
连接oracle数据库时出现了如下错误:
问题解决:eclipse的环境编码和oracle有冲突
oracle在注册表中NLS_LANG值为SIMPLIFIED CHINESE_CHINA.ZHS16GBK
eclipse启动时的配置文件eclipse.ini的-Duser.language属性却为en
将en改为zh,问题解决。
希望对你有所帮助!
2705, 00000, "Cannot access NLS data files or invalid environment specified"
// *Cause: Either an attempt was made to issue an ALTER SESSION command
// with an invalid NLS parameter or value; or the environment
// variable(s) NLS_LANG, ORA_NLSxx, or ORACLE_HOME was incorrectly
// specified, therefore the NLS data files cannot be located.
// *Action: Check the syntax of the ALTER SESSION command and the NLS
// parameter, correct the syntax and retry the statement, or
// specify the correct directory path/values in the environment
// variables.
检查一下你的参数文件是不是有问题