System.Data.OracleClient requires Oracle client software version 8.1.7 or greater


It is a security issue, so to fix it simply do the following:

Go to the Oracle folder.
1- Right Click on the folder.
2- On security Tab, Add “Authenticated Users” and give this account Read & Execute permission.
3- Apply this security for all folders, Subfolders and Files (IMPORTANT).
4- Don’t Forget to REBOOT your Machine; if you forgot to do this you will still face the same problem unless you restart your machine.

 

應用程序運行環境

操作系統 :windows2008 企業版 64位操作系統

數據服務器:oracle11g 32位

web服務器:IIS7

開發環境:.net 3.5sp1  System.Data.OracleClient

1、以管理員的用戶登錄;
2、找到dbhome_1文件夾(我的是C:\app\Administrator\product\11.2.0\dbhome_1),點右鍵,選屬性--安全,在組或用戶欄中選 “Authenticated Users”,在下面權限列表中把“讀取和運行”的權限去掉,再按應用;重新選上“讀取和運行”權限,點擊應用;選權限框下面的“高級”按鈕,確認 “Authenticated Users”后面的應用於是“該文件夾、子文件夾及文件”,按確定把權限的更改應用於該文件夾;
3、重新啟動計算機,讓權限設置生效(請注意,這一步很重要);
4、登錄后運行asp.net應用,正常取得Oracle數據庫的數據。

 


免責聲明!

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



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