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> 

1
Leave a Reply

avatar
1 Comment threads
0 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
1 Comment authors
Heather Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Heather
Guest

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