连接ACCESS出问题了,help
DCD 2005-06-23 04:43:38 用VBS能连接,换用JS就连不上,不知道是哪里写错了
<%@ LANGUAGE="JScript"%>
<%
DbFile = "../#data.mdb";
dbcon = Server.CreateObject("ADODB.Connection");
DBPath = Server.MapPath(DbFile);
Response.Write(DBPath);
dbcon.Open("Driver={Microsoft Access Driver (*.mdb)};uid=;pwd=;dbq="&DBPath);
%>
错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC 驱动程序管理器] 未发现数据源名称并且未指定默认驱动程序
/dby/include/conn.asp, 第 8 行