WIN7旗舰版,IIS安装并测试成功,也能打开ASP网页,用ASP网页登录系统时,无法连接数据库。

如题所述

出现问题的原因很多。
IE菜单“工具”》Internet选项》高级选项卡》滚动条拖到最后
显示友好的HTTP错误信息前的勾去掉,确定。
再刷新网页,看显示什么错误信息。追问

an error occurred on the server when processing the URL. Please contact the system adminserator. IF you are the system administrator please click here to find out more about this error
点击here后显示该网页无法访问(错误代码:连接错误) http://go.microsoft.com/fwilnk/?linkID=82731
connectionfailure:连接错误

追答

怎么显示这个呢?这不是你网站的错误回显啊

追问

microsoft ole db provider for odbc drivers 错误 "80004005"
[microsoft][odbc驱动程序管理器]未发现数据源名称并且未指定默认驱动程序
/asp/opendb.asp' 行 12

追答

这就好说了,打开此/asp/opendb.asp文件,检查链接数据库的地址是否正确

追问

11行 DBPath1=server.mappath("db/lmtof.mdb")
12行 conn.Open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DBPath1
13行 set session(sessionname)=conn

追答

db/lmtof.mdb 这个mdb库你确定存在吗?你上db文件夹里看看有没有此数据库文件

温馨提示:答案为网友推荐,仅供参考

相关了解……

你可能感兴趣的内容

本站内容来自于网友发表,不代表本站立场,仅表示其个人看法,不对其真实性、正确性、有效性作任何的担保
相关事宜请发邮件给我们
© 非常风气网