Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

1 posts, 0 answers
  1. Joe
    Joe avatar
    2 posts
    Member since:
    Oct 2011

    Posted 12 Jan 2011 Link to this post

    Hello,

    I attempted to update a user's shift on the Modify Shift window.  When I clicked the Update button, the processing loading graphic appeared, but processed for an unusually long time.  When it finally resolved, the window remained open and there was an exclamation point next to the Done message. When I clicked on the exclamation point there was a message about a timeout error.  See screen captures attached.

    I have declare AsyncPostBackTimeout="3600" in <RadScriptManager>  and also executionTimeout="3600" in <httpRuntime>. After that also this error occurred.

    Then I have create a js file (RequestManager.js) like:
    --------------------------------------------------------------------------------------------------------
    Sys.Application.add_init(AppInit);


    function AppInit(sender) {
        Sys.WebForms.PageRequestManager.getInstance().add_endRequest(EndRequestHandler);
    }


    // Called when async postback ends
    function EndRequestHandler(sender, args) {
        if (args.get_error()) {
            args.set_errorHandled(true);
        }
    }
    --------------------------------------------------------------------------------------------------------
    In aspx page code is:

    <telerik:RadScriptManager ID="RadScriptManager1" runat="server" AsyncPostBackTimeout="3600">
            <Scripts>
                <asp:ScriptReference Path="~/Scripts/RequestManager.js" />
            </Scripts>
     </telerik:RadScriptManager>
    --------------------------------------------------------------------------------------------------------

    Still it is occurred. Please help me.


    Thanks and Best Regards
    Sabya



Back to Top