ASP.NET - Sys.WebForms.PageRequestManagerTimeoutException: The server request timed out.

Asked By Sandeep Bhutani on 08-Aug-09 11:47 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 me 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.

Re

Ravenet Rasaiyah replied to Sandeep Bhutani on 08-Aug-09 12:41 PM
Hi

This error we can solve man, just  make this line ion your Update Manager

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

AsyncPostBackTimeOut="600" >

</asp:ScriptManager>

More details

http://blogs.microsoft.co.il/blogs/aviwortzel/archive/2007/04/16/Sys.WebForms.PageRequestManagerTimeoutException-_2D00_-The-server-request-timed-out-_2D00_-error.aspx

Thank you
http://www.codegain.com

:Sorry for the above post. :-).

[)ia6l0 iii replied to Sandeep Bhutani on 08-Aug-09 01:01 PM
You should have marked "AsyncPostBackTimeout" in RED-BOLD

Back to your question, As  you have precisely figured out , it indeed does not look like a problem with the server. Presuming, that both the test machines (clients) are on the same network, here is what i need you to check out.

1. Have you used the same version of browser on both the test machines? Could that be a clue?
2. Is there a proxy set in one of the machine browsers? Tools- Internet Options - Connections - Lan Settings (IE)?
3. did you try clearing your browser cache - Tools - Internet Options - Delete.,
4. Add an AsyncPostBackError handler and try to see if you can get any additional info. .Net messages are better known to hide the actual error in the innermost exceptions.

The script would look like,
protected void ScriptManager1_AsyncPostBackError(object sender, AsyncPostBackErrorEventArgs e)
{
   //e.Exception.Data["ExtraInfo"]
}




Please check your language before posting it here. - EOM

Perry replied to Ravenet Rasaiyah on 10-Aug-09 07:28 AM
end of post
Sys.WebForms.PageRequestManagerTimeoutException
Stefan Stoychev replied to Sandeep Bhutani on 07-Sep-09 07:19 AM

Similar problem.
I have two browsers installed on the same computer: IE and Firefox.
I have exceptions only in IE.
I think the problem is in IE.
And I think the problem is the "age" of IE. Only "old" IE suffer from this problem. But deleting history does not solve the problem.
So ask Bill G. for hint.
Regards