asp.net - Sys.WebForms.PageRequestManagerTimeoutException during server-side debug -
often during debug of server-side vb.net/c# code executed inside of asp.net partial postack (updatepanel, other controls ajax behaviors) getting client-side error:
at point not care client-side (and @ runtime not happening). it's major annoyance during debug - there way prevent it?
this happens when have asp scriptmanager ajax processing. control has default async postback timeout of 90 seconds, after throw exception.
the solution rather simple: add asp tag during debug extend timeout long debug session might take you:
<asp:scriptmanager id="scriptmanager1" runat="server" asyncpostbacktimeout="3600"> </asp:scriptmanager>
the above let me run debug session 1 hour before throwing exception. don't forget remove tag production releases, or hung loop etc, never time out.
jeff
Comments
Post a Comment