IE8上的Sys.WebForms.PageRequestManagerServerErrorException错误

|| 我有2个.aspx页面。 1. Reporter.aspx 2. Report.aspx 在Reporter.aspx内部,我有一个IFRAME,在将Report.aspx提交到服务器(以加载报告)之后,Report.aspx被保留在IFRAME中,我想做另一件事,例如显示进度或类似的东西。我的页面如下所示 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: .....................
<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个小时才能生成,这就是为什么我有 在asp:ScriptManager中设置AsyncPostBackTimeout = \“ 7200 \”。它可以在FireFox,Google Chrome,Safari等不同的浏览器中完美运行,而在IE中则不能。当我 单击使用浏览器IE8的“生成”按钮,几秒钟后,它显示以下javascript错误: 网页错误详细信息 用户代理:Mozilla / 4.0(兼容; 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) 时间戳记:2011年5月25日,星期三,UTC 消息:Sys.WebForms.PageRequestManagerServerErrorException:在服务器上处理请求时发生未知错误。服务器返回的状态码为:12002 线:4723 字符:21 代码:0 URI:HTTP://本地主机:64191 /的ScriptResource.axd d = p4fjjEQSSdv063Ae96jd9UCqVNGWjRlsLyZLXU0H9gBYlcdCHSPhZBNLbZ-4XLN3zCzBInKdXuLlu4E1PtquQ3YdrPS-9wlk1EreB5wn-imBkTqz02jjBS_01qg6c4ObcqXGRK8Ejgyb3pvKkcBSH5V7xOadF8Jl4MSwWwtSDUBqxwNH0&T = fffffffff9d85fa6 然后,我只将EnablePartialRendering = \“ false \”放到asp:ScriptManager并尝试查看是否可以看到一些区别。在此之后,我点击使用 IE8,并在几秒钟后(如10-15)发现了另一个JavaScript错误。这是错误: 网页错误详细信息 用户代理:Mozilla / 4.0(兼容; 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) 时间戳记:UTC,2011年5月25日08:27:19 消息:对方法或属性访问的意外调用。 线:264 字符:5 代码:0 URI:res://ieframe.dll/httpErrorPagesScripts.js 有谁能帮助我摆脱这个IE错误。我很麻烦。 改头换面 莫欣     
已邀请:
状态代码12002建议脚本超时。尽管您在客户端上设置了较高的超时(对于异步postbck),但服务器端在web.config或page指令中具有其自己的ScriptTimeout设置。 另外,我看不到为什么需要嵌套的更新面板。从您对自己正在做的事情的描述出发,就足够了。将“生成报告”按钮放在更新面板的外面,然后将触发元素添加到更新面板,以单击“生成报告”按钮。 在IE选项中检查您的插件,也许禁用所有插件。     

要回复问题请先登录注册