UltiDev ASP.NET 页面挂起然后超时
我有一个非常简单的 ASP.NET (4.0) 页面,我使用 UltiDev Web Server Pro 提供该页面。 当我单击一个按钮时,我会执行“
Response.Redirect("MainPage.aspx")
所有工作正常”,直到我将页面留在浏览器中一段时间(我无法告诉您具体的时间,但只有几分钟)。然后,我单击该按钮,在等待页面加载大约一分钟或更长时间后,我得到:
Firefox:
'The connection to the server was reset while the page was loading.'
IE9:
'Internet Explorer cannot display the webpage'
如果我刷新一切都会再次正常工作,直到一段时间不活动 - 有什么建议吗?
我在 IIS 中尝试过,似乎没有同样的问题。
编辑:
我尝试在 Windows XP 计算机上托管完全相同的项目,这似乎工作没有问题。所以我认为这可能与 Windows 7 64 位或仅与 Windows 7 有关
I have a very simple ASP.NET (4.0) page that I am serving up with 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:
'The connection to the server was reset while the page was loading.'
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.
EDIT:
I tried hosting the exact same project on a Windows XP machine and this seems to work without issue. So I think it could be something to do with either Windows 7 64 bit or just Windows 7
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
请检查您是否在 Page_Load 上有另一个重定向,因为这会导致
异常
,并且可能会导致您所描述的相同错误。祝你好运!
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.Good luck!