当前位置: 代码迷 >> ASP.NET >> 客官留步,请听小女子一言解决方法
  详细解决方案

客官留步,请听小女子一言解决方法

热度:1702   发布时间:2013-02-25 00:00:00.0
客官留步,请听小女子一言
各位客官请细看——
  小女子有2个网站A1,A2(内容基本相同),分别放在2个服务器B1,B2上。一日在后台不慎将网站A1上的product.asp删除,于是copy了A2上的同名文件(代码一模一样)上传到A1上,结果悲剧出来了,点击翻页(无论是首页,尾页,上一页,下一页),统统给我摆张臭脸——数据暂无,请稍后访问!
  我发誓代码没有任何问题,因为A2网站运行的很好。看起来貌似网站A1对product.asp的克隆体毫不感冒,简直目中无它。为什么A1不接纳product.asp?我该肿么办!
  各位兄台,给个高见吧!小女子感激不尽!
  具体现象可到网站狂点http://www.armdesigner.com/Productss90
  [code=CSS][/code]<!--#include file="inc/conn.asp" -->
<!--#include file="inc/txt.asp" -->
<!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=gb2312" />
<title>ARM9,ARM11 Single Board Computers ,Computer-on-Mdule and peripherals</title>
<link href="css/css.css" rel="stylesheet" type="text/css" />

</head>

<body>
<table width="960" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
  <td align="left"><!--#include file="top.asp" -->
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
  <td height="6" colspan="3"></td>
  </tr>
  <tr>
  <td width="190" valign="top" bgcolor="#C4D7E1"><span class="zhi18">Products</span><br />
  <br />
   
<table width="98%" border="0" align="left" cellpadding="2" cellspacing="1">
<%
sql="select * from fuleibie where soo='产品大类' order by xuhao asc "
rs.open sql,conn,1
do until rs.eof
%>
  <tr>
  <td height="22" bgcolor="#3B7492" class="bai"><a href="Productss<%=rs("lb_id")%>" class="an"><%=rs("leibie")%></a> </td>
  </tr>
   
<%
set rs1=server.CreateObject("adodb.recordset")
sql="select * from shop2 where soo='产品大类' and fabu=1 and c2='"&rs("leibie")&"'"
rs1.open sql,conn,1
do until rs1.eof
%>
  <tr>
  <td height="20" bgcolor="#8EB8CA"><a href="<%=rs1("c1")%>"><%=rs1("c1")%></a> </td>
  </tr>
<%
rs1.movenext
loop
rs1.close
%>
<%
rs.movenext
loop
rs.close
%>
  </table>
</td>
  <td width="6" valign="top">&nbsp;</td>
  <td height="430" valign="top">


<%
leibie=chee(request.QueryString("leibie"))
'set rs1=server.CreateObject("adodb.recordset")
'sql="select * from shop2 where soo='产品大类' and c2='"&leibie&"'"
sql="select * from shop2 where soo='产品大类' and c2='"&leibie&"' and fabu=1 order by xuhao desc"
rs.open sql,conn,1

IF rs.eof and rs.bof THEN
Response.Redirect("error.asp?tishi=No data, please visit later!")
END IF
page=Request.QueryString("page")

page=int(page)
  相关解决方案