Ajax – Asp.net 4.0 UpdatePanel error: Sys.WebForms.PageRequestManagerServerErrorException: The status code returned from the server was: 12002

ajaxasp.netasp.net-4.0updatepanelupdateprogress

I have a process that takes about 15-20 seconds to executed and at the end it updates a updatepanel to refresh a gridview

But it keeps me bringing me this error:

Microsoft JScript runtime error: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12002

I have extensively searched for answers everywhere and they keep pointing to this

httpRuntime maxRequestLength="1024000" executionTimeout="999999"
and AsyncPostBackTimeout ="360000" in the ToolkitScriptmanager

It doesn't work for me, can anybody please suggest anything that will help me?
Here are part of the code:

<%@ Page Title="" ....AsyncTimeout="36000" EnableEventValidation="false" ValidateRequest="false" %>
<asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server" AsyncPostBackTimeout ="360000" >
</asp:ToolkitScriptManager>
<asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
<ContentTemplate>
<asp:Button ID="BtnGeneraPed" runat="server" Text="GP" Height="45px" Width="148px"/>
<asp:UpdateProgress ID="UpdateProgress1" runat="server">
<ProgressTemplate>
<table>
<tr><td><img alt="Cargando" src="../images/loading.gif" /></td></tr></table>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:GridView ID="GV" runat="server" BackColor="White" 
......
</asp:GridView>
</ContentTemplate>
</asp:UpdatePanel>

Best Answer

So after almost 2 days I finally could figure this out...

It was extremely simple... I was testing and developing this in a machine with Windows XP and IE 8.... I tested it in Firefox and Chrome and the results where positive, no error

The issue was related to ReceiveTimeout settings from internet explorer 8.. it was to short

The solutions is in this article:
http://intersoftpt.wordpress.com/2009/06/23/resolve-page-cannot-be-displayed-issue-in-ie8/