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数据库的数据。

 

posted @ 2016-05-20 00:13  wolfplan  阅读(3424)  评论(0编辑  收藏  举报