Last post Dec 28, 2009 01:36 AM by sameer.on
Nov 07, 2006 02:22 PM|LundJohansen|LINK
I have just installed the new beta. So nothing works again. Don't you just love this beta stuff :-)
I get a "Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out" when using a updatepanel. Why is that?
I have placed
in my web.config. What is wrong here?
Nov 09, 2006 01:39 PM|marcgel|LINK
Do you have a particularly long running process on the server? Sounds like the PageRequestManager was waiting for a response and it didn't come back. Did you get that message after 90 seconds? Try setting the ScriptManager.AsyncPostBackTimeout greater than
the default value to see if that narrows where the problem is.
Nov 19, 2006 07:55 AM|JST|LINK
I solved the issue with a property setting of ScriptManager
Below an example to set the timeout to 10 hours
<asp:ScriptManager ID="ScriptManager1" AsyncPostBackTimeOut="36000" runat="server" />
I hope it solves your problem in an easy way.
Nov 23, 2006 02:30 PM|nanite|LINK
Nov 23, 2006 04:46 PM|jodywbcb|LINK
May 09, 2007 06:03 AM|breceivemail|LINK
Probably you are running a server-side C# code and a client-side-script by a control like a Button all together.
Or maybe you have written a client-side-script for a control which is placed in an updatePanel.
Avoid them; your problem will be solved.
Oct 22, 2008 05:03 PM|vijay_g|LINK
Im getting the following error...
Sys.Webforms.pagerequestManagerServerErrorException:An unknown error occurred while processing the request on the server.The status code from the server was 12002.
How can i fix this problem...
I need urgent help..
Even Though i set the AsyncPostBackTimeout
to 36000sec also doesnot fix the problem.
Oct 22, 2008 11:18 PM|chetan.sarode|LINK
To solve this problem we can increase the timeout. You can change the timeout time by adding a new property to the script manager control. This property is called
and it can help us to define the number of seconds before the request will throw a request timeout exception*.
For example if you want that the timeout will take maximum 10 minutes your code should be look like this:
The default value of the
AsyncPostBackTimeOut property is 90 seconds.
and for ServerErrorEXception
It is not a good practice to use Response.Write from within an ASP.NET page in general. As UpdatePanels work by intercepting the page rendering process you are recieving the errors.
You can put the code to generate the data in an HTTPHandler or you can make the button a PostBackTrigger.
function EndRequestHandler(sender, args)
if (args.get_error() != undefined)
Dec 03, 2008 03:47 AM|joshyparameswar|LINK
Hi Vijay, Did you get any solution for the problem. Regards Josh
May 22, 2009 12:37 PM|veerendranath.darsi|LINK
I have same problem & i have solved it using three line of code in asp.net
I think point 1. is more than enough
Dec 24, 2009 06:02 PM|navyjax2|LINK
Just setting AsyncPostBackTimeout="360000" is good enough. Basically, you're telling AJAX to keep churning and churning until 6 hours, and then display the error - longer than probably anyone will ever stay on the page to see it. As long as it's doing
everything else it's supposed to, finding the real cause is probably inconsequential. I saw a post saying to avoid using UpdatePanels with AJAX Timers, that this is the cause. I believe that's why this was happening for me; but my timer updates the controls
in my UpdatePanel just fine now without this error coming up, so I'm happy with this workaround.
Dec 28, 2009 01:36 AM|sameer.on|LINK
Try this in ur webconfig file.
Mark as "Answer" if this post is helpful