首页 新闻 会员 周边 捐助

我的网站到进来后出现这样的错误是为什么

0
悬赏园豆:5 [已解决问题] 解决于 2008-12-19 12:52

我该在哪里找错误啊? 我的源代码是

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="MoreBooks.aspx.cs" Inherits="MoreBooks" %>

<%@ Register Src="Bookweb/books.ascx" TagName="books" TagPrefix="uc3" %>

<%@ Register Src="UserWeb/end.ascx" TagName="end" TagPrefix="uc2" %>

<%@ Register Src="loginpage/login.ascx" TagName="login" TagPrefix="uc1" %>
<!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 runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title><%=tt %>----听学网</title>
    <link href="css/top.css" type="text/css" rel="stylesheet" />
    <link href="css/css.css" type="text/css" rel="stylesheet" />
    <link href="css/footer.css" type="text/css" rel="stylesheet" />
    <script type="text/javascript" src="css/js.js" language="javascript"></script>
    <script type="text/javascript" src="css/newshuadong.js" language="javascript"></script>
</head>
<body>
    <form id="fm" runat="server" method="post">
        <!--头部-->
        <div style="background: #fff; float: left; padding: 0 1px;">
          <uc1:login ID="Login1" runat="server" />
            <!--整体内容上部-->
            <div id="link">
                <div id="nat">
                    <h1>
                        您现在的位置:<a href="pageindex.aspx" target="_self">中国听学网</a>  >> 听学课件 >><%=tt %>
                    </h1>
                    <p>
                        <a href="#">
                            </a></p>
                    <p>
                        <a href="#">
                            </a></p>
                </div>
                <div id="link_left" style="width: 257px">
                    <div id="soto">
                        <h1>
                            课件搜索</h1>
                        <ul>
                            <uc3:books id="Books1" runat="server">
                            </uc3:books></ul>
                    </div>
                    <div class="adBlock">
                        <div id="tab2">
                            <h3 class="up wer1" onmouseover="showHotTab(2,1);" onclick="window.open('#','_blank');">
                                <a href="#">人教版</a></h3>
                            <h3 class="wer1" onmouseover="showHotTab(2,2);">
                                <a href="#">苏教版</a></h3>
                            <h3 class="wer" onmouseover="showHotTab(2,3);">
                                <a href="#">北师大版</a></h3>
                            <h3 class="wer1" onmouseover="showHotTab(2,4);">
                                <a href="#">其他版</a></h3>
                            <div class="block">
                                <ul>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList2" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=8&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                        <font color="#3888FF"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList4" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=8&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                                     <font color="#3888FF"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList3" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=8&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                        <font color="#3888FF"> <%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList5" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%# DataBinder.Eval(Container.DataItem, "ID")%>&nid=<%=nid %>&cb=8&nj=<%=nj %>'
                                                        target="_self">
                                                                     <font color="#3888FF"><%# DataBinder.Eval(Container.DataItem, "catename")%>专题</font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                </ul>
                            </div>
                            <div class="ti">
                               <ul>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList6" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=9&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                        <font color="#0058DD"> <%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList7" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=9&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                                   <font color="#0058DD"> <%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList8" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=9&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                        <font color="#0058DD"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList9" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%# DataBinder.Eval(Container.DataItem, "ID")%>&nid=<%=nid %>&cb=9&nj=<%=nj %>'
                                                        target="_self">
                                                                    <font color="#0058DD"><%# DataBinder.Eval(Container.DataItem, "catename")%>专题</font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                </ul>
                            </div>
                            <div>
                               <ul>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList10" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=10&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                        <font color="#003A90"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList11" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=10&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                                    <font color="#003A90"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList12" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=10&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                        <font color="#003A90"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList13" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%# DataBinder.Eval(Container.DataItem, "ID")%>&nid=<%=nid %>&cb=10&nj=<%=nj %>'
                                                        target="_self">
                                                                    <font color="#003A90"><%# DataBinder.Eval(Container.DataItem, "catename")%>专题</font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                </ul>
                            </div>
                            <div>
                               <ul>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList14" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=45&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                        <font color="#000000"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList15" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=45&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                                    <font color="#000000"> <%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                    <span class="Bang_list"><span class="paq">
                                        <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                            <asp:DataList ID="DataList16" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                <ItemTemplate>
                                                    <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%=al %>&nid=<%=nid %>&cb=45&nj=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                                        target="_self">
                                                         <font color="#000000"><%# DataBinder.Eval(Container.DataItem, "catename")%></font>
                                                    </a></span></li>
                                                </ItemTemplate>
                                            </asp:DataList>
                                        </span><span class="paq">
                                            <img src="images/to3.gif" width="229" height="10" /></span> </span><span class="Bang_list">
                                                <span class="paq">
                                                    <img src="images/to1.gif" width="229" height="11" /></span> <span class="imgq">
                                                        <asp:DataList ID="DataList17" runat="server" RepeatColumns="3" RepeatDirection="Horizontal">
                                                            <ItemTemplate>
                                                                <li><span class="tui"><a class="route" href='moreBooks.aspx?al=<%# DataBinder.Eval(Container.DataItem, "ID")%>&nid=<%=nid %>&cb=45&nj=<%=nj %>'
                                                        target="_self">
                                                                     <font color="#000000"><%# DataBinder.Eval(Container.DataItem, "catename")%>专题</font>
                                                                </a></span></li>
                                                            </ItemTemplate>
                                                        </asp:DataList>
                                                    </span><span class="paq">
                                                        <img src="images/to3.gif" width="229" height="10" /></span> </span>
                                </ul>
                            </div>
                        </div>
                    </div>
                    <div id="tpet">
                        <h1>
                            推荐广告</h1>
                        <p>
                            <img src="images/cp032.gif" width="240" height="200" /></p>
                    </div>
                    <div id="pati">
                        <h1>
                            本类课件排行</h1>
                        <ul>
                            <asp:DataList ID="DataList1" runat="server" RepeatColumns="1">
                                <ItemTemplate>
                                    <li>·<a class="route" href='ShowBooks.aspx?nid=<%# DataBinder.Eval(Container.DataItem, "ID")%>'
                                        target="_blank">
                                        <%# DataBinder.Eval(Container.DataItem, "Title").ToString().Length > 12? DataBinder.Eval(Container.DataItem, "Title").ToString().Substring(0,12) + "..." : DataBinder.Eval(Container.DataItem, "Title").ToString()%>
                                    </a></li>
                                </ItemTemplate>
                            </asp:DataList>
                        </ul>
                    </div>
                    <div id="pati">
                        <h1>
                            赞助商链接</h1>
                        <ul>
                            <li>·<a href="#">free games download</a></li>
                            <li>·<a href="#">free download games</a></li>
                            <li>·<a href="#">Cooking Academy</a></li>
                            <li>·<a href="#">Cooking Quest</a></li>
                            <li>·<a href="#">Build-a-lot 2</a></li>
                            <li>·<a href="#">shooting games</a></li>
                        </ul>
                    </div>
                </div>
                <div id="link_right">
                    <div id="biat">
                        <asp:DataGrid ID="DataGrid1" runat="server" Width="100%" DataKeyField="ID" AutoGenerateColumns="False"
                            BorderColor="White" PageSize="7" AllowPaging="True" OnItemDataBound="DataGrid1_ItemDataBound"
                            BorderStyle="Dotted" CaptionAlign="Top" ShowHeader="False">
                            <Columns>
                                <asp:TemplateColumn>
                                    <ItemTemplate>
                                        <h1>
                                            <a href="ShowBooks.aspx?nid=<%# DataBinder.Eval(Container.DataItem,"ID")%>" target="_self"><%# DataBinder.Eval(Container.DataItem, "title")%></a>
                                        </h1>
                                        <span class="bacet">
                                            <p class="tyq">
                                              版本:<%# DataBinder.Eval(Container.DataItem,"p")%>|学制:<%# DataBinder.Eval(Container.DataItem,"y")%>∣年级:<%# DataBinder.Eval(Container.DataItem,"g")%>|科目:<%# DataBinder.Eval(Container.DataItem,"cname")%>∣更新时间:<%# DataBinder.Eval(Container.DataItem,"addtime","{0:yyyy年MM月dd日}")%>∣人气:<%# DataBinder.Eval(Container.DataItem,"point")%></p>
                                            <span class="baew">
                                                <p class="teq"><font color="#000000"><strong>简介:</strong></font><%# DataBinder.Eval(Container.DataItem, "Detailed").ToString().Length > 90 ? DataBinder.Eval(Container.DataItem, "Detailed").ToString().Substring(0, 90) + "..." : DataBinder.Eval(Container.DataItem, "Detailed").ToString()%></p>
                                                <ul>
                                                <p class="rp">下载:</p>
                                                    <asp:DataList ID="Datalist3" runat="server" RepeatColumns="6" Width="100%">
                                                        <ItemTemplate>
                                                            <!--sxw-->
                                                           <li>
                                  <asp:Button ID="Button1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem,"Brand")%>' ToolTip='<%# DataBinder.Eval(Container.DataItem,"aupic")%>' OnClick="Button1_Click" />
                                                            </li>
                                                            <!--sxw-->
                                                        </ItemTemplate>
                                                    </asp:DataList>
                                                </ul>
                                            </span></span>
                                    </ItemTemplate>
                                </asp:TemplateColumn>
                            </Columns>
                            <PagerStyle Visible="False" />
                            <AlternatingItemStyle VerticalAlign="Top" />
                        </asp:DataGrid>
                    </div>
                    <div id="meart">
                        <%=pageInfo%>
                        <input class="editButton" id="ButFirst" style="cursor: hand" accesskey="f" type="submit"
                            align="absMiddle" value="<<<首页" name="BtnSave" runat="server" onserverclick="ButFirst_ServerClick1">
                        <input class="editButton" id="ButBefore" style="cursor: hand" accesskey="b" type="submit"
                            align="absMiddle" value="<<前页" name="BtnSave2" runat="server" onserverclick="ButBefore_ServerClick1">
                        <input class="editButton" id="ButNext" style="cursor: hand" accesskey="n" type="submit"
                            align="absMiddle" value="后页>>" name="BtnSave2" runat="server" onserverclick="ButNext_ServerClick1">
                        <input class="editButton" id="ButEnd" style="cursor: hand" accesskey="e" type="submit"
                            align="absMiddle" value="尾页>>>" name="BtnSave2" runat="server" onserverclick="ButEnd_ServerClick1">
                        转到页面:
                        <asp:TextBox ID="ToPage" runat="server" Width="26px" Height="15px"></asp:TextBox>
                        <input class="editButton" id="gotopage" style="cursor: hand" accesskey="t" type="submit"
                            align="absMiddle" value="转页" name="BtnSave2" runat="server" onserverclick="gotopage_ServerClick1">
                        <asp:RangeValidator ID="Rangevalidator1" runat="server" Width="1px" Display="None"
                            MaximumValue="10000" MinimumValue="1" Type="Integer" ControlToValidate="ToPage"
                            ErrorMessage="请正确输入页码!"></asp:RangeValidator>
                    </div>
                </div>
            </div>
            <!--底部-->
            <div id="footer">
                <uc2:end ID="End1" runat="server" />
             
            </div>
        </div>
    </form>
</body>
</html>
告诉我详细点哈 我是.NET的初学者 谢谢了

问题补充: 我是用VS2005导进来的源文件 这个网站也是 用VS2005做的 这个网站在服务器上还正在运行 在服务器上是没有错误的 但是在我这就有好几百的错误 网站的网址是www.tingxue.org.cn
zhangchunle的主页 zhangchunle | 初学一级 | 园豆:0
提问于:2008-12-19 11:36
< >
分享
最佳答案
0

没事,别管它。呵呵  

West | 小虾三级 |园豆:1095 | 2008-12-19 11:40
其他回答(2)
0

主要是你的这个页面Html不规范,有很多重名等问题,一般的问题可以忽略,但是肯定有严重问题,这个错误应该是服务端的控件问题,可能是重名或者缺少闭合标签等造成的。还有就是你的

</a>  >> 听学课件 >><%=tt %>文字部分请不要是用<>等html的占位符,如果必须使用请使用编码后的符号替换:

& l t ;是<
& g t ;是>

就是尖括号..但是html代码里面就是这样显示的..比如网页里"<她好漂亮>"
在html里面就是"& l t ;她好漂亮& g t ;"

GUO Xingwang | 园豆:3885 (老鸟四级) | 2008-12-19 11:49
0

可以装作没看见。

BB_Coder | 园豆:797 (小虾三级) | 2008-12-19 12:04
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册