ASP.NET空白页或Internet Explorer无法显示该网页 [英] ASP.NET Blank Page or Internet Explorer cannot display the webpage

查看:107
本文介绍了ASP.NET空白页或Internet Explorer无法显示该网页的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


我们遇到了一个我不知道如何解决的问题。我们的网站有数百份报告。当客户端和Web服务器之间几分钟没有交互时,有一些会导致问题。我们正在使用.NET 2005,Framework 2.0和Oracle 9i数据库。


我们的应用程序有几百个报告,但只有几个报告有这个问题;有问题的报告没有写任何错误日志文件,他们只是生成一个?空白屏幕?或者是消息?Internet Explorer无法显示网页?


最初执行时的报告没有问题,如果用户通过分页数据或数据维护屏幕保持活动状态,单击导致回发的对象,它将继续工作。如果客户端和Web服务器之间没有交互几分钟,那么我们要么得到一个空白屏幕?或?Internet Explorer无法显示网页?


这些报告都有分页,我们从其中一个报告中删除了分页,但仍然会产生相同的错误。


生产和开发服务器(可通过Internet /防火墙访问)上发生此错误,但在开发人员的本地计算机上不会发生此错误。生产和开发服务器的操作系统是2003年,开发人员的操作系统是XP Professional。


报告大小的示例是833KB,当我删除视图状态信息时,它是399KB。


我们非常感谢任何帮助或建议。


此致,
Lorie

Hello,

We have an issue that I do not know how to resolve. Our website has several hundred reports. There are a handful of them that are causing issues when there is no interaction for a couple of minutes between client and web server. We are using .NET 2005, Framework 2.0 with an Oracle 9i database.

Our application has several hundred reports, but only several reports have this issue; the reports with the issues do not write anything to the error log file, they just produce a ?blank screen? or a message ?Internet Explorer cannot display the webpage?.

The report when executed initially has no issues and if the user stays active by either paging through the data or on data maintenance screens clicking on objects that causes a postback it continues to work. If there is no interaction between the Client and the web server for a couple of minutes then we either get a ?blank Screen? or ?Internet Explorer cannot display the webpage?.

These reports all had paging, and we removed paging from one of the reports and it still produces the same error.

This error occurs on both the Production and Development server (which is accessed through the internet/firewalls), but does not happen on the developer?s local machine. The Production and Development server?s operating system is 2003, the developer?s operating system is XP Professional.

An example of a size of a report is 833KB, when I remove the viewstate information it is 399KB.

Any help or suggestions would be greatly appreciated.

Sincerely,
Lorie

推荐答案

听起来您的会话状态超时导致您将失去对该页面的访问权限。修复此问题取决于您管理会话的方式。您是否使用oracle DB来管理会话状态?


Nathan
It sounds like your Session state is timing out causing you to lose access to the page. Fixing this depends on how you manage session. Are you using the oracle DB to manage your session state?

Nathan


我们没有使用Oracle来管理我们的会话。这听起来像会话问题,因为它只在几分钟后发生。但是,当用户登录到站点时,我们会根据安全级别分配会话变量。在每个报告中,我们检查会话是否仍然有效,如果不是,我们将用户注销。


用户遇到空白页面或?Internet Explorer无法显示网页?后,用户仍然可以通过点击后退按钮或执行相同的报告从初始页面进来。我设置了Trace = True,我仍然可以看到会话变量。


此外,如果我限制数据,它可以正常工作。
We are not using Oracle to manage our session. It sounds like a session problem since it only happens after a couple of minutes. But, when a user logs into the site we assign session variable based on security levels. In each report we check to see if the session is still valid, if not we log the user out.

After a user experiences a "blank page'' or ?Internet Explorer cannot display the webpage?, the user is still able to execute this same report by either hitting the back button or coming in from the initial page. I set Trace=True and I can still see the session variables.

Also, If I limited the data, it works correctly.


可以你发布了显示报告的代码吗?


谢谢

Nathan
Could you post the code that displays the report?

thanks
Nathan


这篇关于ASP.NET空白页或Internet Explorer无法显示该网页的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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