Asp连接Oracle数据库 出现"找到 Oracle 客户端和网络组件" 解决方案

本人用Asp做的程序本地访问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. Provider is unable to function until these components are installed. "

 

解决方案:

 

        这个版本的oracle安装在NTFS格式的分区上时对Authenticated Users用户的权限设置没有设置好,造成Authenticated Users对 ORACLE_HOME 目录是不可访问的。  而IIS就是使用 Authenticated Users 用户权限来访问的。 因此不能访问到ORACLE_HOME目录,也就提示 Microsoft OLE DB Provider for Oracle  没有注册 这样的错误了。   而使用Windows 桌面程序来访问oracle,因为是用administrator用户来登录的,所有就有权限访问。

      解决方法也很简单。 把ORACLE_HOME 目录的Authenticated Users 用户的权限那里的钩去掉,然后再购上,最后重启,就OK了。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值