Learning While Aging

AJAX request timeout error

The default value of AJAX postback is 90 seconds, so if you have a long asynchronous postback, you will get an error as this:

Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

The fix is to change the default timeout value to a larger value in your ScriptManger’s AsyncPostBackTimeout property (10 minutes as below):

<asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="600">
        </asp:ScriptManager> 
0 0 votes
Article Rating
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Heather
11 years ago

I personally seem to go along with every thing that is put into writing within
“AJAX request timeout error | Roaming in the computer world”.
Many thanks for pretty much all the actual information.

Thanks for your effort-Kieran