连接数据库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.
系统是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.
...全文
相关推荐
微软Access Database Engine 2010
Access Database Engine 2010访问MS Access 的驱动。
Access2010数据库ODBC驱动
Access2010数据库ODBC驱动
vs2010 access数据库访问实例
vs2010 access数据库访问实例 vs2010 access数据库访问实例 vs2010 access数据库访问实例 vs2010 access数据库访问实例
连接ACCESS数据库时发生错误提示:找不到可安装的 ISAM
连接ACCESS数据库时发生错误提示:找不到可安装的 ISAM 检查后发现原来是把Data Source写成 DataSource了
VS2010 C++ ADO读取ACCESS 数据库
开发环境:VS2010C++ 用ADO方式读取数据库,代码清晰易懂,适合新手学习 数据库文件为ACCESS 需要用数据源配置的


