首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > ASP >

win7 64bit iis6.0 ie8.0 asp页面如何能够在浏览器中看到祥细异常信息

2013-01-01 
win7 64bit iis6.0 ie8.0 asp页面怎么能够在浏览器中看到祥细错误信息%@LANGUAGEVBSCRIPT CODEPAGE6

win7 64bit iis6.0 ie8.0 asp页面怎么能够在浏览器中看到祥细错误信息
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>

<body>
<%
set conn=server.CreateObject("adodb.connection")
conn.open "DSN=test"
conn.execute("select * from user")
conn.close
%>
</body>
</html>

错误信息(这个没法用啊)
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.

[解决办法]
修改站点属性,有个选项叫:将错误的脚本消息发送到浏览器,把这个设定为true就好了。
[解决办法]
工具->高级->把“显示友好HTTP错误信息”前面的勾去掉
[解决办法]
2楼+3楼,才是完整答案哟.!win7 64bit iis6.0 ie8.0 asp页面如何能够在浏览器中看到祥细异常信息

热点排行