连接数据库ACCESS2010提示出错,大虾矿帮忙看一下是错在哪里?
代码是网上抄的,各位帮忙看一下是哪里出错了?要怎么改?
系统是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.