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:

debug 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

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -