服務器重啟后,數據庫登錄信息為空:orcle :Could not initialize "D:\app\Administrator\product\11.2.0\dbhome_1\bin\oci.dll" Make sure you have the 32 bits Oracle Client installed.


服務器重啟后,數據庫登錄信息為空

 

 

錯誤信息:

---------------------------
(Not logged on) - PL/SQL Developer
---------------------------
Initialization error
Could not initialize "D:\app\Administrator\product\11.2.0\dbhome_1\bin\oci.dll"
Make sure you have the 32 bits Oracle Client installed.

OCIDLL forced to D:\app\Administrator\product\11.2.0\dbhome_1\bin\oci.dll
LoadLibrary(D:\app\Administrator\product\11.2.0\dbhome_1\bin\oci.dll) returned 0
---------------------------
OK   
---------------------------

環境:win7  64位

   PL/SQL Developer: Version 11.0.3.1770

 

解決方案

1. 從 http://www.oracle.com/technetwork/database/features/instant-client/index-097480.html 下載Oracle Client Package。 我下載的是Instant Client for Microsoft Windows (32-bit) 【instantclient-basiclite-nt-11.2.0.2.0.zip -》(instantclient_12_1.zip)】 
2. 將 instantclient-basiclite-nt-11.2.0.2.0.zip 解壓至 F:\instantclient_12_1 所在目錄為:F:\instantclient_12_1
3. 啟動PL/SQL Developer ,點擊“取消”不要登錄,菜單 --> Tools --> Perferences --> Connection 修改 Oracle_Home 和 OCI Library 的配置:
    OracleHome: D:\app\Administrator\product\11.2.0\dbhome_1  ( orcle 所在的安裝目錄
    OCI library: F:\instantclient_12_1\oci.dll  ( 解壓的目錄
4.apply -》OK -》重啟
 

 

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM