Microsoft OLE DB Provider for Oracle error '80004005'

今天在做项目时发现一个如标题的问题

环境配置:

Win2000 sp4

IIS 5.0

.net framework 1.1

Oracle9i(用OleDb连接)

环境配好后,SQL*PLUS连接没问题.

随便做了个ASP.NET工程,想测试一下和数据库的连接,结果发生错误.记得以前用8i的时候没有错的啊.

没有办法,只好上网去查,终于找到一个和我遇到同样问题的.以下是他的网址

http://www.vbip.com/forum/topic.asp?id=6259

以下是引用:

--------------------------------------------------------------------------------------------------

Go to your ORACLE_HOME folder, D:/Oracle/Ora92 in my case, and pull up its properties. Then head to the security tab and select the Authenticated Users group. The three permissions that should be checked are Read & Execute, List Folder Contents, and Read. Uncheck Read & Execute then RE-Check it again to reset permissions for everything underneath. Just to be safe, go into the ADVANCED settings and make sure that Authenticated Users has "This folder, subfolders and files" under the APPLY TO column. If not, double click on it and change the drop down to say that. It should say this already by now, but just be sure it does!

Reboot and everything should work as advertised ... it finally worked for me.
----------------------------------------------------------------------------------------------------

我按着改了以后,问题解决了.

分析:

感觉是Oracle和.net的权限问题,但是我把ASPNET的权限该为administrator了还不行.

按他说的,好象Oracle里有文件没有被附上读和执行的权限.但具体是哪些文件,不清楚.

有遇到类似问题的朋友可以试着改一下,看看问题能不能解决.

 

 

 

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值