Click here to Skip to main content
15,887,485 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
i used UpdateProgress for showing loading image on screen. and i set AsyncPostBackTimeout=100000.

My application taking approx 2 hrs to write all the data in excel file and also doing formation on each sheets.but problem is after 1 hour.It is giving java script 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"


and also i checked with ValidateRequest="false", Same error has been occurred.

Please help me out this.

XML
<asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="UpdatePanel2">
                 <ProgressTemplate>
                     <asp:Panel ID="Panel1" CssClass="overlay" runat="server">
                         <asp:Panel ID="Panel2" CssClass="loader" runat="server" Width="250px" Height="100px">
                             <asp:Image ID="ajaxLoadNotificationImage" runat="server" ImageUrl="~/App_Themes/MIELTheme/Images/Loader.jpg"
                                 AlternateText="Processing..." Height="60px" Width="60px" />
                             &nbsp;<b>Please wait.....</b></asp:Panel>
                     </asp:Panel>
                 </ProgressTemplate>
             </asp:UpdateProgress>
Posted
Updated 15-Mar-12 20:40pm
v5

1 solution

If you got this error inside the UpdatePanel, then try setting the EnablePartialRendering value to false in the ScriptManager control of the page.
 
Share this answer
 
Comments
Amod Kumar Jaiswal 16-Mar-12 4:44am    
when i did this then loading popup image not waorking...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900