简体   繁体   English

UltiDev ASP.NET页挂起,然后超时

[英]UltiDev ASP.NET page hangs and then times out

I have a very simple ASP.NET (4.0) page that I am serving up with UltiDev Web Server Pro. 我有一个非常简单的ASP.NET(4.0)页面,该页面随UltiDev Web Server Pro一起提供。 When I click a button I do a 当我单击按钮时,我会执行

Response.Redirect("MainPage.aspx")

All works fine until I leave the page in my browser for some time (I can't tell you a specific amount of time but it is a few minutes). 一切正常,直到我将页面留在浏览器中一段时间​​(我无法告诉您特定的时间,但这是几分钟)。 I then click on the button and after about a minute or more of waiting for a page load I get: 然后,我单击按钮,大约一分钟或更长时间等待页面加载后,我得到:

Firefox: Firefox:

'The connection to the server was reset while the page was loading.' 

IE9: IE9:

'Internet Explorer cannot display the webpage'

If I refresh everything works fine again until a period of inactivity - any suggestions? 如果我刷新,一切正常,直到一段时间不活动为止-有什么建议吗?

I tried this in IIS and that does not seem to have the same issue. 我在IIS中进行了尝试,但这似乎没有相同的问题。

EDIT: 编辑:

I tried hosting the exact same project on a Windows XP machine and this seems to work without issue. 我尝试在Windows XP计算机上托管完全相同的项目,这似乎没有问题。 So I think it could be something to do with either Windows 7 64 bit or just Windows 7 因此,我认为这可能与Windows 7 64位或Windows 7有关

Please check that you do not have another redirect upon the Page_Load, cause this would cause an Exception and it might cause the same error you are describing. 请检查您是否没有在Page_Load上进行其他重定向,因为这将导致Exception ,并可能导致与您描述的错误相同的错误。

Good luck! 祝好运!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM