上传网页后出现了这样的提示问题,我该怎么做?

来源:百度知道 编辑:UC知道 时间:2024/06/17 17:56:15
Microsoft JET Database Engine 错误 '80004005'

找不到文件 'D:\hosting\wwwroot\htdocs\siteDB\i28ss8w9s932ds.mdb'。

/include/superstep.net_conn.asp,行 13

我知道是找不到数据库,但数据库我已经上传了,数据库名儿也一样啊,原版复制的啊,怎么会这样的显示呢。

你要用相对路径。
+server.mappath 是指相对路径。
若你的网站在D:\hosting\wwwroot\,应用+server.mappath 代替。
以下是DW中联接字符串
"Driver={Microsoft Access Driver (*.mdb)};DBQ="+Server.MapPath("/htdocs/siteDB/i28ss8w9s932ds.mdb")