在IE8 Sys.WebForms.PageRequestManagerServerErrorException错误 [英] Sys.WebForms.PageRequestManagerServerErrorException error on IE8

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

问题描述

我有2个.aspx页。 1. Reporter.aspx 2. Report.aspx
内部Reporter.aspx我有一个IFRAME和Report.aspx正在提交Report.aspx服务器(负载报告),我想要做的另一件事像显示一些进展或类似的东西后保持IFRAME中。我的网页看起来像以下

I have 2 .aspx pages. 1. Reporter.aspx 2. Report.aspx Inside Reporter.aspx I have an IFRAME and Report.aspx is kept inside the IFRAME after submitting Report.aspx to server (to load report), I want to do another thing like showing some progress or something like that. My pages looks like the following

Reporter.aspx:
....................

Reporter.aspx: ....................

<body style="margin:2px;">
    <form id="Form1" runat="server">   
    <dx:ASPxPopupControl ClientInstanceName="LoadingPanel" ID="LoadingPanel" HeaderText="Progress" runat="server" ShowCloseButton="false" CloseAction="None"
        PopupHorizontalAlign="WindowCenter" EnableClientSideAPI="true" PopupVerticalAlign="WindowCenter" ShowShadow="true" Modal="true">
        <ContentCollection>
            <dx:PopupControlContentControl ID="PopupControlContentControl2" runat="server">
                <asp:Panel ID="Panel2" Height="75px" Width="275px" runat="server">
                    <center>
                        <div id="dvStatus" style="width:100%; font-family:Verdana; font-size:10px; color:Red;" >Loading....</div>
                        <div>
                            <img src="../Content/images/loading_big.gif" alt=""/>
                        </div>
                    </center>       
                </asp:Panel>
            </dx:PopupControlContentControl>
        </ContentCollection>                        
    </dx:ASPxPopupControl>
    </form>
    <div style="width:100%; overflow:hidden;">
        <iframe id="IFrame2" style="width:100%; border:0px; height:1125px; overflow:hidden;" frameborder="0" src="Report.aspx"></iframe>
    </div>
</body>

Report.aspx:
..................

Report.aspx: ..................

<body style="overflow: hidden;">                   
    <asp:ScriptManager ID="ScriptManager1" runat="server" AsyncPostBackTimeout="7200">
        </asp:ScriptManager>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
            <ContentTemplate>
                    <div id="dvReportSettings" runat="server" style="float: left; width: 320px;" class="filterAndReport">                            
                            <asp:UpdatePanel ID="UpdatePanel2" runat="server" UpdateMode="Conditional">
                                    <ContentTemplate>                                    
                                    </ContentTemplate>
                                </asp:UpdatePanel>
                        </div>
            <dx:ASPxButton ID="btnGenerateReport" OnClick="btnGenerateReport_Click" Height="35px"
                            Width="100%" runat="server" Text="Generate" AutoPostBack="false">
                                <ClientSideEvents Click="function(s,e){ValidatePage(s,e)}" />
                        </dx:ASPxButton>
        </ContentTemplate>
        </asp:UpdatePanel>                   
</body>

我有ID =btnGenerateReport的按钮,当我点击它,它加载报告。一些大报告采取生成差不多2个小时,这就是为什么我有
设置AsyncPostBackTimeout =7200里面的asp:ScriptManager的。它完美的作品在不同的浏览器如Firefox,谷歌Chrome,Safari浏览器,但不是在IE浏览器。当我
点击浏览器中使用IE8 Generate按钮,几秒钟后,它显示了以下JavaScript错误:

I have a button with ID="btnGenerateReport" and when I click it, it loads report. Some big reports take almost 2 hours to be generated and that is why I have set AsyncPostBackTimeout="7200" inside asp:ScriptManager. It works perfectly in different browsers like FireFox, Google Chrome, Safari but not in IE. When I click on Generate button using browser IE8, after few seconds it shows the following javascript error:

网页错误的详细信息。

用户代理:Mozilla的/ 4.0(兼容; MSIE 8.0; Windows NT的6.1; WOW64;三叉戟/ 4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;媒体中心PC 6.0; MDDC; .NET4.0C; .NET4.0E)
时间戳:星期三,2011 5月25日10时47分06秒UTC

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; .NET4.0C; .NET4.0E) Timestamp: Wed, 25 May 2011 10:47:06 UTC

消息:Sys.WebForms.PageRequestManagerServerErrorException:在处理服务器上的请求时出现未知错误。状态code从服务器返回的是:12002
行:4723
焦炭:21
code:0
URI:<一href=\"http://localhost:64191/ScriptResource.axd?d=p4fjjEQSSdv063Ae96jd9UCqVNGWjRlsLyZLXU0H9gBYlcdCHSPhZBNLbZ-4XLN3zCzBInKdXuLlu4E1PtquQ3YdrPS-9wlk1EreB5wn-imBkTqz02jjBS_01qg6c4ObcqXGRK8Ejgyb3pvKkcBSH5V7xOadF8Jl4MSwWwtSDUBqxwNH0&t=fffffffff9d85fa6\" rel=\"nofollow\">http://localhost:64191/ScriptResource.axd?d=p4fjjEQSSdv063Ae96jd9UCqVNGWjRlsLyZLXU0H9gBYlcdCHSPhZBNLbZ-4XLN3zCzBInKdXuLlu4E1PtquQ3YdrPS-9wlk1EreB5wn-imBkTqz02jjBS_01qg6c4ObcqXGRK8Ejgyb3pvKkcBSH5V7xOadF8Jl4MSwWwtSDUBqxwNH0&t=fffffffff9d85fa6

Message: Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occurred while processing the request on the server. The status code returned from the server was: 12002 Line: 4723 Char: 21 Code: 0 URI: http://localhost:64191/ScriptResource.axd?d=p4fjjEQSSdv063Ae96jd9UCqVNGWjRlsLyZLXU0H9gBYlcdCHSPhZBNLbZ-4XLN3zCzBInKdXuLlu4E1PtquQ3YdrPS-9wlk1EreB5wn-imBkTqz02jjBS_01qg6c4ObcqXGRK8Ejgyb3pvKkcBSH5V7xOadF8Jl4MSwWwtSDUBqxwNH0&t=fffffffff9d85fa6

然后我只是把的EnablePartialRendering =假,以ASP:ScriptManager的,想看看我是否能看到一些差异。在此之后,我点击使用生成报告按钮
IE8和发现了另一个JavaScript错误就像10-15几秒钟后。以下是错误:

Then I just put EnablePartialRendering="false" to asp:ScriptManager and tried to see if i can see some difference. After this, i click on Generate report button using IE8 and found another javascript error after just few seconds like 10-15. Here is the error:

网页错误的详细信息。

用户代理:Mozilla的/ 4.0(兼容; MSIE 8.0; Windows NT的6.1; WOW64;三叉戟/ 4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729;
媒体中心PC 6.0; MDDC; .NET4.0C; .NET4.0E)
时间戳:星期三,2011 5月25日八时27分19秒UTC

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; MDDC; .NET4.0C; .NET4.0E) Timestamp: Wed, 25 May 2011 08:27:19 UTC

消息:意外的调用方法或属性的访问。
线路:264
焦炭:5
code:0
URI:RES://ieframe.dll/httpErrorPagesScripts.js

Message: Unexpected call to method or property access. Line: 264 Char: 5 Code: 0 URI: res://ieframe.dll/httpErrorPagesScripts.js

请问有没有谁可以帮我从这个IE错误失控。我在严重的麻烦。

Is there anyone who can help me getting out from this IE error. I am in serious trouble.

Regrads,

Mohin酒店

推荐答案

状态code 12002建议一个脚本超时。虽然你已经设置了超时客户端上的高(异步postbck),服务器端都有它自己的ScriptTimeout在web.config中或页面指令设置。

Status code 12002 suggests a script timeout. Although you have set the timeout high on the client (for asynchronous postbck), the server side has it's own ScriptTimeout setting in web.config or page directive.

此外,我不明白为什么你需要的嵌套的更新面板。从你的你在做什么能解密应该是足够的。有生成更新面板外报告按钮,并触发元素添加到更新面板生成报告点击按钮。

Also I don't see why you need the nested update panel. From your decription of what you are doing one should be enough. Have the Generate Report button outside the update panel, and add a trigger element to the update panel for Generate Report button clicks.

检查您的插件在IE选项,可能禁用所有的人。

Check your plugins in IE options, maybe disable all of them.

这篇关于在IE8 Sys.WebForms.PageRequestManagerServerErrorException错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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