asp问题,各位大哥来帮帮忙啊。

来源:百度知道 编辑:UC知道 时间:2024/06/17 05:03:15
Active Server Pages, ASP 0113 (0x80004005)
超过了脚本运行的最长时间。可以为 Server.ScriptTimeOut 属性指定新值或更改 IIS 管理工具中的相应值来更改此限制。
/111/admin/edithw.asp

<%@ CODEPAGE = "936" %>
<!--#include file="conn.asp"-->
<%
if session("admin_rank")<>1 and session("admin_rank")<>4 then
response.write("<script>alert('您无权查看本页,SORRY!');window.location=('login.asp')</script>")
response.end
end if
%>

<%
set rs=server.createobject("adodb.recordset")
set rs1=server.createobject("adodb.recordset")
%><head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css.css">
</head>
<%dim count
set rs=server.createobject("adodb.recordset")
rs.op

do while not rs.eof
改成
do while not (rs.eof or rs.bof)
避免查询到的数据为空时产生无限循环

很显然,,出现那个错误提示便是因为rs.bof为true了

这和这个ASP文件没关系。。
把应用池回收的时间 调整的大些