asp用ado联不上oracle?

gyx999 2003-08-29 07:28:35
DSN="Provider=OraOLEDB.Oracle.1;Password=herog;Persist Security Info=True;User ID=system;Data Source=gdb"
conn.open DSN
set rs=server.createobject("adodb.recordset")
出现错误
Error Type:
Microsoft OLE DB Service Components (0x80070005)
Access is denied.
/buspass/data2.asp, line 11
到底是什么问题?
但在delphi中是可以啊!
那个DSN的字符串就是从delphi中copy过来的。


...全文
25 12 打赏 收藏 转发到动态 举报
写回复
用AI写文章
12 条回复
切换为时间正序
请发表友善的回复…
发表回复
Heartyoung 2003-09-10
  • 打赏
  • 举报
回复
我也是这个问题

oo4o你试了吗?
gyx999 2003-09-08
  • 打赏
  • 举报
回复
我还是想用OraOLEDB
DSN="Provider=OraOLEDB.Oracle.1;Password=herog;Persist Security Info=True;User ID=system;Data Source=gdb"
conn.open DSN
set rs=server.createobject("adodb.recordset")
出现错误
Error Type:
Microsoft OLE DB Service Components (0x80070005)
Access is denied.
/buspass/data2.asp, line 11
Drate 2003-09-02
  • 打赏
  • 举报
回复
呵呵,这个提示是说,你的IIS端没有安装ORACLE 的CLIENT程序呀
你看一看是不是你的ORACLE的客户端 出了什么问题了?
gyx999 2003-09-02
  • 打赏
  • 举报
回复
到底是哪里权限的问题啊,请帮我!
gyx999 2003-09-01
  • 打赏
  • 举报
回复
Microsoft OLE DB Provider for Oracle (0x80004005)
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.
beckhambobo 2003-09-01
  • 打赏
  • 举报
回复
<%
dim cn,rs,driver_name
driver_name="Provider=MSDAORA.1;Password=pass;User ID=user;Data Source=afis;Persist Security Info=True"
set cn = server.CreateObject("adodb.connection")
cn.open driver_name
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from table",cn,3,1
do while not rs.eof
response.write rs("field")
rs.movenext
loop
%>
gyx999 2003-09-01
  • 打赏
  • 举报
回复
我想这个问题应该很普遍才对啊
gyx999 2003-08-31
  • 打赏
  • 举报
回复
是不是要下载什么组件啊
David1289 2003-08-30
  • 打赏
  • 举报
回复
可能是权限的问题,再检查一下字串,asp用ado是可以连上Oracle的,只是好长时间不用了,忘记了。
gyx999 2003-08-29
  • 打赏
  • 举报
回复
在顶
gyx999 2003-08-29
  • 打赏
  • 举报
回复
定啊
gyx999 2003-08-29
  • 打赏
  • 举报
回复
是不是哪里权限的问题啊

17,377

社区成员

发帖
与我相关
我的任务
社区描述
Oracle 基础和管理
社区管理员
  • 基础和管理社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧