Asp.Net 連線Oracle資料庫 出現"找到 Oracle 客戶端和網路元件" 徹底解決方法! (轉)
連線 出現"找到 Oracle 客戶端和" 徹底解決方法!
本人用做的本地訪問oracle資料庫時,在自己機器上好好的能訪問,但是當放到時
就不能出現如下的錯誤:
"Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provr is unable to function until these components are installed. "
本人查詢了CSDN發現不下二十人問過這個問題,但是沒有一個人真正的給出了一個解決辦法,但是專案馬上就要交工了,問題還沒有解決,最後請教我們公司的技術總監——”Oracle專家“終於搞定這個問題:
據我的理解:1.是在 Oracle 9.02i 版的問題,2.你的 ORACLE_HOME 路徑所在的分割槽格式是:NTFS格式;解決方法 到Oracleora92 開啟Ora92的-》屬性-》,選Authenticated Users 看下面的屬性 將Read and Execute 的勾去掉,然後又勾上,確定重新啟動機器 ,ok 搞定,就是這麼簡單,
當然要避免這種問題,您可以這麼做:不要Oracle9.02 或者不要安裝在NTFS格式的分割槽
附上
Oracle 公司的原版資料:
Problem Description ------------------- When running an application that connects to Oracle and uses the Authenticated User privilege (such as 's Internet Information Server (IIS)) via Oracle's 9.2 client software and any of these programmatic interfaces 1. Oracle Provider for OLE 2. Microsoft OLE DB Provider for Oracle 3. Oracle ODBC 4. Microsoft ODBC for Oracle 5. Oracle s for OLE (OO4O) you will receive one of the following errors: (1) Oracle Provider for OLE DB Error Type: Microsoft OLE DB Service Components (0x80070005) Access is denied. (2) Microsoft OLE DB Provider for Oracle Error Type: Microsoft OLE DB Provider for Oracle (0x80004005) Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed. Or Error Type: Microsoft OLE DB Provider for Oracle (0x80004005) Oracle error occurred, but error message could not be retrieved from Oracle. (3) Oracle ODBC Driver Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) Specified driver could not be loaded due to system error 5 (Oracle in OraHome92). (4) Microsoft ODBC for Oracle The Oracle(tm) client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3 (or greater) client software installation. You will be unable to use this driver until these components have been installed. (5) Oracle Objects for OLE (a) while using a GLOBAL.ASA file Error Type: Active Server Pages (0x0) An error occurred while creating object 'OraSession'. (b) not using a GLOBAL.ASA file Error Type: Microsoft runtime (0x800A0046) Pession denied: 'CreateObject' (6) Other miscellaneous errors (a) The Specified Module Could Not Be Found Solution Description -------------------- You need to give the Authenticated User privilege to the Oracle Home by following these steps: 1. Log on to as a user with Administrator privileges. 2. Launch Windows Explorer from the Start Menu and and navigate to the ORACLE_HOME directory. 3. Right-click on the ORACLE_HOME folder and choose the "Properties" option from the drop down list. A "Properties" window should appear. 4. Click on the "Security" tab on the "Properties" window. 5. Click on "Authenticated Users" item in the "Name" list (on the "Name" list is called "Group or user names"). 6. Uncheck the "Read and Execute" box in the "Permissions" list (on Windows the "Permissions" list is called "Permissions for Authenticated Users"). This box will be under the "Allow" column. 7. Check the "Read and Execute" box. This is the box you just unchecked. 8. Click the "Apply" button. 9. Click the "OK" button. 10. You may need to reboot your computer after these changes have been made. Re-execute the application and it should now work. Explanation ----------- If you install OracleRelease 2 (9.2.0.1) on a computer running Windows with an NTFS partition, the contents of ORACLE_HOME directory will not be visible to users who are authenticated on that machine. These permissions were not set proy when the software was installed. Applications that were working fine with previous versions of Oracle software will stop working when they upgrade to Oracle 9.2. NOTE: The application will continue to work if the user has logged onto the machine as an Administrator. Any application that is using the Authenticated User privilege will not work. A notable example would be which might service some of the requests based on the Authenticated User privileges. To demonstrate the problem in further detail, you can log on to the operating system as an authenticated machine user. You won't be able browse the contents of the ORACLE_HOME directory demonstrating your inability to load any Oracle DLLs or make a connection. References ---------- :2498880 - Oracle 9I Release 2 Installation Issue on NTFS File System Additional Search s ----------------------- OLEDB
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/10752043/viewspace-996707/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 配置ORACLE 客戶端連線到資料庫Oracle客戶端資料庫
- 客戶端連線資料庫的方法客戶端資料庫
- 顯示連線Oracle資料庫的客戶端IP地址Oracle資料庫客戶端
- 如何配置oracle客戶端連線10g rac 資料庫Oracle客戶端資料庫
- Oracle 資料庫連線錯誤解決方法Oracle資料庫
- 不安裝Oracle客戶連線Oracle 8的方法(轉)Oracle
- 解決Oracle 11gR2 RAC 無法在客戶端通過scanIP連線資料庫Oracle客戶端資料庫
- 解決oracle 客戶端混亂造成OBIEE Client Administration不能連線資料庫問題Oracle客戶端client資料庫
- oracle 客戶端如何連線到oracle 11gR2資料庫(DNS SCAN IP)Oracle客戶端資料庫DNS
- Oracle 19c中連線RMAN客戶端的連線方法Oracle客戶端
- 解決Oracle 11g R2 RAC 無法在客戶端通過scanIP連線資料庫Oracle客戶端資料庫
- Oracle客戶端連線伺服器教程Oracle客戶端伺服器
- 通過跳板機上設定ssh埠對映實現外網客戶端連線內網oracle資料庫客戶端內網Oracle資料庫
- Kettle8.2連線Oracle資料庫失敗解決方法Oracle資料庫
- PL/SQL developer 遠端連線資料庫 客戶端配置SQLDeveloper資料庫客戶端
- 解決oracle網路連線問題Oracle
- 解決客戶資料庫oracle_sid問題資料庫Oracle
- ORACLE 配置連線遠端資料庫Oracle資料庫
- 客戶端連不上資料庫客戶端資料庫
- Oracle客戶端toad漢字亂碼解決方法Oracle客戶端
- 用javascript連線資料庫的解決方法 (轉)JavaScript資料庫
- Oracle 客戶端生成AWR方法Oracle客戶端
- 徹底解決Oracle中文亂碼Oracle
- 客戶端無法連線資料庫的小問題客戶端資料庫
- ODBC客戶端連線ORACLE透過PowerDesigner匯出表ER圖客戶端Oracle
- Oracle資料庫出現連線超時案例之一Oracle資料庫
- 獲取oracle資料庫連線出現的問題Oracle資料庫
- Oracle RMAN 連線資料庫認證方法Oracle資料庫
- Ubuntu 16.04下安裝資料庫Oracle客戶端Ubuntu資料庫Oracle客戶端
- 使用instantclient和PL/SQL連線oracle遠端資料庫clientSQLOracle資料庫
- PL/SQL Developer連線遠端Oracle資料庫SQLDeveloperOracle資料庫
- Oracle 11g連線遠端資料庫Oracle資料庫
- oracle 資料庫徹底清除目錄指令碼Oracle資料庫指令碼
- 關於go和資料庫連線,客戶端以及驅動的疑問?Go資料庫客戶端
- oracle客戶端連線server 端, tnsnames的三種設定方式Oracle客戶端Server
- sqlserver 2005 客戶端連線出現 error:40SQLServer客戶端Error
- 在Oracle的網路結構中解決連線問題(轉)Oracle
- 【Oracle】Python 連線Oracle 資料庫OraclePython資料庫