急!请大哥帮忙,小妹在线等!

wyy1001 wyy1001 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
<html>
<head>

<title>无标题文档</title>
</head>

<body>
<%
set conn=server.CreateObject("adodb.connection")
conn.open"driver{microsoft access driver (*.mdb)};dbq="&server.MapPath("guestbook.mdb")
%>
<%
exec="select * from guestbook"
set rs=server.CreateObject("adodb.recordset")
rs.open exec,conn,1,1
%>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<% do while not rs.eof%><tr>
<td><% =rs("name") %></td>
<td><% =rs("tel") %></td>
<td><% =rs("message") %></td>
<td><% =rs("time")%></td>
</tr>
<% rs.movenext
loop
%>

</table>

</body>
</html>
怎么我运行时出现了错误!


错误信息为:
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/wyy1001/landscape/3.asp, 第 10 行


浏览器类型:
Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322)

网页:
GET /wyy1001/landscape/3.asp

时间:
2004年8月9日, 16:32:22


详细信息:
Microsoft 支持



我建立了一个数据库!
...全文
评论 12
收藏 已收藏
分享
返回顶部
wyy1001
ASP 28,400 成员 356,938 内容