在一个实现url重写的aspx中,当我连续点击 gridview的 分页页码的时候 弹出如下错误提示,急求解决方法!使用ajax 的updatepanel 想实现无刷新排序!!

解决方案 »

  1.   

    补充一点,在其他页面没有错误提示,估计是 URL rewrite 和 asp:updatepanel 冲突的问题!
      

  2.   

    服务器还没有发现任何匹配的请求URI。 No indication is given of whether the condition is temporary or permanent.没有迹象表明给出的条件是否是暂时的还是永久的。 The 410 (Gone) status code SHOULD be used if the server knows, through some internally configurable mechanism, that an old resource is permanently unavailable and has no forwarding address. This status code is commonly used when the server does not wish to reveal exactly why the request has been refused, or when no other response is applicable. 410(消失)状态代码应使用如果服务器知道,通过一些内部配置机制,即旧的资源是永远无法使用,也没有转发地址。该状态代码时,通常使用的服务器不希望透露确切原因该要求被拒绝,或在没有其他的反应是适用的。 
      

  3.   

    没有找到页面。
    不使用URL重写是否可行
    重写URL,页面地址回传
    用UrlRewriter自带的form控件,<%@ Register Namespace="Intelligencia.UrlRewriter" Assembly="Intelligencia.UrlRewriter" TagPrefix="rewriter" %>
    然后用<rewriter:form runat="server"></form>代替原<form runat="server"></form>
    参考
      

  4.   

    可能是你的url重写有问题,你可以先不要进行Url重新,运行代码看看对不对。
      

  5.   

    调一下看看吧,估计url错了没有找到
      

  6.   

    其他用了updatepanel的页面正常,谢谢这么多人关注 ,主要代码如下:内容页(套用了模板):
     <asp:UpdatePanel ID="UpdatePanel1" runat="server" >
            <ContentTemplate>
                <asp:GridView ID="AdsGrid" runat="server" DataSourceID="AdSearchDataSource" AutoGenerateColumns="False"  EnableViewState ="false" 
                    DataKeyNames="Id" AllowPaging="True" PageSize="1" AllowSorting="True" RowStyle-Height="20px"
                    Width="100%" OnRowCreated="AdsGrid_RowCreated" CellPadding="4" GridLines="None">
    .......... 
    </asp:GridView>
                </ContentTemplate>
               
            </asp:UpdatePanel><asp:ObjectDataSource ID="AdSearchDataSource" runat="server" TypeName="AdsDB" CacheDuration ="30" EnableCaching ="true" EnableViewState="false" CacheExpirationPolicy="Sliding"web.config中 url重写部分  <httpModules>
    <add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" name="UrlRewriter"/>
          <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
        </httpModules>
      

  7.   


    那我为了SEO 想用URL重写 咋办?