请在页面上查看我的错误.... [英] please look at my error on page....

查看:90
本文介绍了请在页面上查看我的错误....的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用UpdateProgress在屏幕上显示加载图像.并且我设置了AsyncPostBackTimeout = 100000.

我的应用程序大约需要2个小时将所有数据写入excel文件,并且还在每张纸上进行格式化.但是问题是1个小时后出现的.这给了Java脚本错误.

"Microsoft JScript运行时错误:Sys.WebForms.PageRequestManagerServerErrorException:在服务器上处理请求时发生未知错误.服务器返回的状态码为:12002"


并且我也用ValidateRequest ="false"进行了检查,发生了相同的错误.

请帮我解决这个问题.

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.

<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>

推荐答案

如果您在UpdatePanel中遇到此错误,请尝试将 EnablePartialRendering 值设置为 false 在页面的ScriptManager控件中.
If you got this error inside the UpdatePanel, then try setting the EnablePartialRendering value to false in the ScriptManager control of the page.


这篇关于请在页面上查看我的错误....的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆