navicat 客户端连接oracle数据库 异常处理 can't load oci dll 和 Instant Client package...

来源:互联网 发布:珠峰js培训 编辑:程序博客网 时间:2024/04/27 21:40

一般当你安装完 navicat for oracle 或者 navicat Premium 后 连接的时候老是会报一些 oci.dll 问题 今天总结如下。希望对各位开发有帮助!

cannot load OCI DLL,126

解决方法:工具->选项->OCI 选择oracle安装目录下bin里面的oci.dll 

二 在Win7(64位)下安装了Oracle 11g R2,在用Navicat去连接Oracle时,提示以下错误:
Cannot load OCI DLL, 126: Instant Client package is required for Baic and TNS connection
For more information: http://wiki.navicat.com/wiki/index.php/Instant_client_required
查看上述链接发现,Navicat only support 32-bit instant client,因此,尽管我们安装了64位的Oracle,但由于Navicat仅支持32位的,因此我们还需下载一个32位的客户端,下载地址:http://www.oracle.com/technetwork/topics/winsoft-085727.html。以下为完整的解决方法:
 1:在上述地址中下载文件:instantclient-basic-nt-11.2.0.3.0.zip
 2:解压此安装包,并将解压出的文件合并到:D:appuserproductinstantclient_11_2
 3:打开Navicat,选择工具→选项→其他→OCI,然后设置OCI library为:D:app\user\product\instant\client_11_2\oci.dll,
    设置SQL *plus为:D:app\user\product\11.2.0\dbhome_1\BIN\sqlplus.exe。确定。

同理 Navicat Premium 64位必须用64位的客户端 下载地址和安装方法和上类似。请自行安装!
2 0
原创粉丝点击