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 vote
Article Rating
Subscribe
Notify of
guest
1 Comment
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Heather
6 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

1
0
Would love your thoughts, please comment.x
()
x
Close Bitnami banner
Bitnami