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

Last post 08-08-2009 9:29 PM by smasher9. 1 replies.

Sort Posts:

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

    08-08-2009, 11:52 AM
    Hi, 
    
    I am getting famous exception but in an uncommon scenario - 
    Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
    
    I hosted my website in a server and as soon as I fire a request I get this error alert. But to 
    my surprise, when I access this same site from some other client machine (keeping previous
    same machine as server) it works flawlessly. It simply means my server is OK
    and on same machine there is some problem in browser or somewhere else. I am already using enough AsyncPostBackTimeout. Can somebody please provide me a hint on what to do. Thanks.
    Mark as answer if you are agree with the solution. This helps the community.

    Sandeep Bhutani
  • Re: Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

    08-08-2009, 9:29 PM
    • Member
      164 point Member
    • smasher9
    • Member since 05-14-2008, 9:41 AM
    • Posts 155

    sandeepbhutani304:

    Hi, 
    
    I am getting famous exception but in an uncommon scenario - 
    Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.
    
    I hosted my website in a server and as soon as I fire a request I get this error alert. But to 
    my surprise, when I access this same site from some other client machine (keeping previous
    same machine as server) it works flawlessly. It simply means my server is OK
    and on same machine there is some problem in browser or somewhere else. I am already using enough AsyncPostBackTimeout. Can somebody please provide me a hint on what to do. Thanks.

    To solve this problem we can increase the timeout. You can change the timeout time by adding a new property to the script manager control. This property is called AsyncPostBackTimeOut and it can help us to define the number of seconds before the request will throw a request timeout exception*.

    For example if you want that the timeout will take maximum 10 minutes your code should be look like this:

    <asp:ScriptManager ID="ScriptManager1" runat="server"

    AsyncPostBackTimeOut="600" >

    </asp:ScriptManager>     

     

    * The default value of the AsyncPostBackTimeOut property is 90 seconds.

    Believe to yourself!
Page 1 of 1 (2 items)