locked
Script Manager Time Out Error RRS feed

  • Question

  • User-1621581383 posted

    How can increase scriptmanager  time out

    Tuesday, September 8, 2015 7:15 AM

Answers

  • User603616845 posted

    Hi,

    You can use  AsyncPostBackTimeOut property to add timeout value.

    <asp:ScriptManager ID= "ScriptManager1" AsyncPostBackTimeOut= "360000 " runat= "server " />

    If you want to do it by code behind than

    if (AJAX.IsInstalled())
    {
        AJAX.RegisterScriptManager();
        ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
        scriptManager.AsyncPostBackTimeout = 360000;
    }

    Hope this will help you.

    Thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 7:42 AM
  • User615288127 posted

    Hi mishfaq007,

    You can also set AsyncPostBackTimeout="0" to effectively remove the timeout.  I had to do this with some rather large transfers of data between SQL and Access which would take several minutes to complete.

    Hope this helps!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 8:34 AM
  • User61956409 posted

    Hi mishfaq007,

    Welcome to ASP.NET forum.

    How can increase scriptmanager  time out

    By default AsyncPostBackTimeOut is 90 seconds, we could increase the property-value likes "AsyncPostBackTimeout=yourvalue”. Besides, this blog explained a similar issue, please refer to it.

    http://blogs.msdn.com/b/selvar/archive/2012/06/18/reportviewer-2010-control-fails-with-sys-webforms-pagerequestmanagertimeoutexception-the-server-request-timed-out.aspx

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 10:28 PM

All replies

  • User603616845 posted

    Hi,

    You can use  AsyncPostBackTimeOut property to add timeout value.

    <asp:ScriptManager ID= "ScriptManager1" AsyncPostBackTimeOut= "360000 " runat= "server " />

    If you want to do it by code behind than

    if (AJAX.IsInstalled())
    {
        AJAX.RegisterScriptManager();
        ScriptManager scriptManager = ScriptManager.GetCurrent(this.Page);
        scriptManager.AsyncPostBackTimeout = 360000;
    }

    Hope this will help you.

    Thanks

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 7:42 AM
  • User615288127 posted

    Hi mishfaq007,

    You can also set AsyncPostBackTimeout="0" to effectively remove the timeout.  I had to do this with some rather large transfers of data between SQL and Access which would take several minutes to complete.

    Hope this helps!

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 8:34 AM
  • User61956409 posted

    Hi mishfaq007,

    Welcome to ASP.NET forum.

    How can increase scriptmanager  time out

    By default AsyncPostBackTimeOut is 90 seconds, we could increase the property-value likes "AsyncPostBackTimeout=yourvalue”. Besides, this blog explained a similar issue, please refer to it.

    http://blogs.msdn.com/b/selvar/archive/2012/06/18/reportviewer-2010-control-fails-with-sys-webforms-pagerequestmanagertimeoutexception-the-server-request-timed-out.aspx

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, September 8, 2015 10:28 PM