zoukankan      html  css  js  c++  java
  • 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:appAdministratorproduct11.2.0dbhome_1),点右键,选属性--安全,在组或用户栏中选 “Authenticated Users”,在下面权限列表中把“读取和运行”的权限去掉,再按应用;重新选上“读取和运行”权限,点击应用;选权限框下面的“高级”按钮,确认 “Authenticated Users”后面的应用于是“该文件夹、子文件夹及文件”,按确定把权限的更改应用于该文件夹;
    3、重新启动计算机,让权限设置生效(请注意,这一步很重要);
    4、登录后运行asp.net应用,正常取得Oracle数据库的数据。

  • 相关阅读:
    假期(面试题二)
    假期(面向对象相关)
    假期(模块相关)
    假期(面试题一)
    假期(函数相关)
    最后一个假期
    Django缓存问题
    python pass关键字神奇吗
    python中类变量,成员变量
    python类中self是什么
  • 原文地址:https://www.cnblogs.com/wolfplan/p/5510700.html
Copyright © 2011-2022 走看看