日期:2014-05-17  浏览次数:20820 次

500 Internal Server Error错误
投票系统统计"当前排名"的ASP源文件,当数据超过20就出现如下错误:
是什么原因,我设置的是20分页,和分页有关吗?


Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Web Server at goodfarmer.com”


HTML code
<!--#include file="inc/config.asp"-->
<!--#include file="inc/conn.asp"-->

<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title><%=SiteName%>-powered by aspcms</title>
<link href="css/reset.css" rel="stylesheet" type="text/css">
<link href="css/style.css" rel="stylesheet" type="text/css">

<div id="toolbar">
  <div>
    <ul>
    <%
    
    function RemoveHTML(fString)
  dim   re   
  set   re   =   New   RegExp   
  re.Global   =   True   
  re.IgnoreCase   =   True   
  if   not   isnull(fString)   then   
  re.Pattern   =   "<(.[^>]*)>"   
  fString   =   re.Replace(fString,"") 
   fString   =  Replace(fString,"&nbsp;","")  
  RemoveHTML   =   fString   
  end   if 
end function
set rslink=server.createobject("adodb.recordset")
execlink="select * from link order by id desc"        
rslink.open execlink,conn,1,1
do while not rslink.eof
%>

   <li <%if rslink("linkrl")="0" then%>class="fr"<%else%>class="fl"<%end if%>><a 

href="<%=rslink("link")%>" target="_blank"><%=rslink("title")%></a>&nbsp;</li>
    <%        
rslink.movenext
Loop
rslink.close
set rslink=nothing
%>
    
          </ul>
  </div>
</div><!-- toolbar End -->
<div >
<div id="banner">
    <div class="banner_bg">
    <div>
    
    </div>
    </div>
</div>
</div>
<!-- banner End -->

<!-- nav End -->
<!-- subNav End -->

<!--Start Beacon Code v2-->


<!--End Beacon Code v2--><div id="main" class="clearfix" style="padding-top:15px;">
  <div class="colLeft">
    <div class="article bj">
      <div class="box_tit">
        <div>
                      <h3 class="area_title">评选结果</h3>
                  </div>
      </div>
      <!-- box_tit End -->
      <div class="article_con">
        
        <div class="article_con_main" style="border-bottom:1px solid #ccc; margin-

bottom:8px;">
            <!--<h2>模范旅行—春秋</h2>-->
            <h2><font size="2" face="仿宋_GB2312"><table width="96%" border="0" 

align="center" cellpadding="3" cellspacing="1" bgcolor="#aec3de">
      <tr align="center" bgcolor="#F0F7FF" style="font-weight:bold">
        <td width="13%"><%if lb="rq" then response.write"人气" else response.write"

票数" end if%>排名</td>
        <td width="23%">评选名称</td>
        <td width="9%">票数</td>
        <td width="9%">人气</td>
        <td colspan="2"&