ASP.Net网站超时问题 [英] Timeout Issue in ASP.Net Website

查看:68
本文介绍了ASP.Net网站超时问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个ASP.NET网站,我正在运行一些报告(用于报告的用户控件)。如果是特定报告,当我在生产服务器上运行它时,在大约4分钟的时间间隔后,资源管理器页面将过期,并收到Internet Explorer无法显示页面的消息。当我从生产服务器获取数据并在本地计算机上运行此报告时,即使在8分钟的时间间隔后,我也可以查看报告。

我检查了web.config和DEV和PROD上的httpruntime executiontimeout属性是相同的。



任何人都可以建议问题是什么?

Hi, I have a ASP.NET website and I am running some reports (User control used for reports)through it. In case of a particular report, when I run it on the Production server, after a time interval of approximately 4 minutes, the explorer page expires and I get a message as " Internet Explorer Cannot Display the Page ". When I take the data from the production server and run this report in the local machine, I am able to view the report even after a time interval of 8 minutes.
I checked the web.config and the httpruntime executiontimeout attribute on both DEV and PROD is the same.

Can anyone please advice what the issue can be ?

推荐答案

您可能需要在web.config中增加 httpRuntime 元素的 executionTimeout 属性。



在开发安装上运行相同的查询时,将忽略此设置(请参阅 this [ ^ ]并向下滚动到 executionTimeout )。这样做是为了防止在调试时请求超时。
You'll probably need to increase the executionTimeout property of the httpRuntime element in your web.config.

When you run the same query on your development installation this setting is ignored (see this[^] and scroll down to executionTimeout). This is done to prevent request timeouts when debugging.


这篇关于ASP.Net网站超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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