连接数据库时报错!
我的数据库是这样连的:
dim conn,connstr,DBPath
DBPath=server.MapPath("date/db1.mdb")
Connstr = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ="& DBPath
Set conn=Server.CreateObject("adodb.connection")
conn.open Connstr
数据库用的Access
最后,报下面的错误:
错误类型:
Provider (0x80004005)
未指定的错误
/zqc888/conn.asp, 第 8 行
第 8 行就是程序的最后一行“conn.open Connstr”