<%@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楼,才是完整答案哟.!