Win 7 下Navicat无法连接64位Oracle 11gR2:Cannot load OCI DLL解决方法

       错误描述:在Win7下安装了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

      以下为完整的解决方法:

Step 1:在上述地址中下载文件:instantclient-basic-nt-11.2.0.3.0.zip

Step 2:解压此安装包,并将解压出的文件合并到:D:\app\liyinwei\product\instantclient_11_2

Step 3:打开Navicat,选择工具→选项→其他→OCI,然后

扫描二维码关注公众号,回复: 1186586 查看本文章

    设置OCI library为:D:\app\liyinwei\product\instantclient_11_2\oci.dll,

    设置SQL *plus为:D:\app\liyinwei\product\11.2.0\dbhome_1\BIN\sqlplus.exe。

Step 4:测试成功。

猜你喜欢

转载自lyl-zsu.iteye.com/blog/2051856