连接数据库ACCESS2010提示出错,大虾矿帮忙看一下是错在哪里?

weixin_41168932 weixin_41168932 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
代码是网上抄的,各位帮忙看一下是哪里出错了?要怎么改?
系统是WIN2008 IIS7.5 ACCESS2010
<%

Dim conn

Set conn=Server.CreateObject("Adodb.Connection")

conn.open "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" & Server.MapPath("数据库名.accdb")

Response.Write("成功")

%>

提示错误:
An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click here to find out more about this error.
...全文
评论 5
收藏 已收藏
分享
返回顶部
weixin_41168932
ASP 28,400 成员 356,938 内容