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.