1. 程式人生 > >Navicat for oracle 提示 cannot load OCI DLL,126 193的解決方法

Navicat for oracle 提示 cannot load OCI DLL,126 193的解決方法

一、cannot load OCI DLL,126

解決方法:工具->選項->OCI 選擇Oracle安裝目錄下bin裡面的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。以下為完整的解決方法:  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。確定。  4:測試成功。