Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Sep 06, 2007 06:41 PM by dbsquared
Dec 21, 2006 07:48 PM|LINK
I have a gridview within an updatepanel which keeps getting that popup error for "url rewrited" pages. It works fine otherwise for the other pages.
According to this thread: http://forums.asp.net/thread/1438409.aspx it seems the problem is related to the framework, but I'm using vanilla ASP.NET AJAX 1.0 RC with only the System.Web.Extensions.Design.dll and System.Web.Extensions.dll assemblies to work
with and I can't find any solution to this. Perhaps there's a "fixed" assembly I can download to fix this problem?
Dec 27, 2006 07:20 AM|LINK
Dec 27, 2006 10:51 PM|LINK
Hi there, thanks for replying, but I still have the same problem. I've tested it with a very simple AJAX program and it still doesn't work for url rewrite pages. For example, the page
(1) http://website.com/development/ab/calgary/my_name/ is rewritten into
(2) http://website.com/development/listing.aspx?id=123 (I have a blank index.aspx page in root/development/ab/calgary/my_name) When I visit URL (2) the ajax works, but I get that error popup when I visit URL (1)
To illustrate, here's how I'm doing the rewrites in the global.asax file using the above example:
void Application_BeginRequest(Object Sender, EventArgs e)
HttpContext incoming = HttpContext.Current;
string oldPath = incoming.Request.Path.ToLower();
if (Regex.IsMatch(oldPath, "(/development/ab/calgary/my_name/index.aspx)"))
Application["Hits"] = (int) Application["Hits"] + 1;
server side code (listing.aspx):
protected void Button1_Click(object sender, EventArgs e)
Label1.Text = "Panel refreshed at " + DateTime.Now.ToString();
<asp:UpdatePanel id="UpdatePanel1" runat="server">
<asp:Label ID="Label1" runat="server" Text="Panel Created"></asp:Label><br />
<asp:Button ID="Button1" runat="server" Text="Refresh Panel 1" OnClick="Button1_Click" />
Dec 28, 2006 01:29 AM|LINK
Dec 28, 2006 01:31 AM|LINK
Jan 05, 2007 06:27 AM|LINK
hi jesson and totenkopf
I am also getting above error like
Sys.WebForms.PageRequestManagerServerErrorException Error: an unknown error occurred while processing the request on the server. the status code return from the server was 403
i have used the same code pasted by jasson.
i have one update panel in which i am using gridview. when i press on any header it sorts all the record, means it gives no error
but if i am keep pressing on header multiple times without stoping, it gives me above error.
so what will be the solution
Aug 02, 2007 01:31 PM|LINK
you just write in form tab in
<%@ Page Language="C#" MasterPageFile="123.cs" ValidateRequest="false"
AutoEventWireup="true" CodeFile="ManagePoll.aspx.cs" Inherits="Extranet_ManagePoll" Title="Untitled Page" %>
bold char and work is fine
Sep 06, 2007 06:41 PM|LINK
I still get this error from time to time and it is annoying for the endusers that get this also. Here is my entry:
Is there any resolution to what throws this error?