Oracle Error

ISSUE:

When trying to connect to an Oracle database you receive the following error: "OCIEnvCreate failed with return code -1 but error message text was not available"

CAUSE:

以下两种情况之一可能原因:
1,在 Windows 7 使用不支持版本 Oracle 客户端 (超过 11.2)
2,以前安装 Oracle 客户端 Dll 系统造成冲突
解决方法:
1,安装 Oracle 客户端支持版本
2,搜索"保监处。DLL"本地计算机如果找到文件任何实例 ORACLE_HOME以外任何位置重命名删除如果疑问卸载 Oracle 客户端然后再次执行搜索什么吃剩罪魁祸首

转自:https://community.landesk.com/support/docs/DOC-24808

原文地址:https://www.cnblogs.com/shangshen/p/4916116.html