请求Web应用程序上的超时问题 [英] request time out issue on web application

查看:127
本文介绍了请求Web应用程序上的超时问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI,

我的实时服务器上的Web应用程序有一个非常奇怪的问题。网站有近50到60个表单,一切正常,只有一页用户去它总是加载,不打开页面,我们得到请求超时错误。现在,如果你去其他页面,他们的行为是一样的。如果我们不访问该页面,其他页面将正常工作,但一旦您进入该页面它将无法正常工作,您将陷入无限循环。现在转到任何页面,它将无法打开。我已从iis重新启动我的网站,清除临时文件,再次替换文件但没有任何改变。





i也增加了httpsxecution超时3600和脚本管理器设置asyncpostbacktimeout到3600但没有任何作用?





有人可以帮帮我????


i have a very weird problem on my web application on live server. website has almost 50 to 60 forms and everything works fine and there is only one page when user go it always load and do not open the page we get the request time out error. now if you go to the other pages they behave the same. if we don't visit that page other pages will work fine but once you enter in that page it will not work and you are trapped in an infinite loop. now go to any page and it will not open. i have restarted my web site from iis , clear the temp files , replace the files again but nothing change.


i have also increase the httpexecution time out to 3600 and on script manager set asyncpostbacktimeout to 3600 but nothing works?


can some one please help me ????

推荐答案

追踪该页面,找出花费太多时间的行。

要知道如何追踪请参考



http://stackoverflow.com/questions/2265523 / trace-down-slow-performance-of-an-asp-web-pages [ ^ ]



http://msdn.microsoft.com/en-us/library/vstudio/94c55d08 (v = vs.100).aspx [ ^ ]



http://msdn.microsoft.com/en-us/library/vstudio/bb386420(V = VS.100)的.aspx [< a href =http://msdn.microsoft.com/en-us/library/vstudio/bb386420(v=vs.100).aspx\"target =_ blanktitle =New Window> ^ ]
Trace out that page and find out the line on which it is taking too much time.
To know about how to trace please refer

http://stackoverflow.com/questions/2265523/tracking-down-slow-performance-of-an-asp-net-web-page[^]

http://msdn.microsoft.com/en-us/library/vstudio/94c55d08(v=vs.100).aspx[^]

http://msdn.microsoft.com/en-us/library/vstudio/bb386420(v=vs.100).aspx[^]


听起来就像那个页面中的东西。



如果你的应用程序池有一个1个线程那么我必须等待该页面在该线程再次可用于服务器下一页之前超时。



将执行超时设置为3600只会使事情变得更糟。



您的页面也可能在您的应用程序状态中设置了一些打破所有其他页面的内容。



我的建议是从页面中删除所有功能,然后查看是否仍然出现问题。



如果不重新引入页面功能一次进入构建一个,直到问题重新开始 - 出现。



这应该有助于突出问题所在。



你也可以尝试添加详细记录到您的应用程序。这将在您等待响应时准确显示您的页面正在执行的操作。
Sounds like there's something in that one page.

If your application pool has one 1 thread then it my have to wait for that page to timeout before that thread becomes available again to server the next page.

Setting the execution timeout to 3600 will only make things worse in this instance.

You page may also be setting something in your application state which is breaking all the other pages.

My advice would be to remove everything function from the page which breaks and see if you still get the problem.

If you don't reintroduce the feature of the page back into the build one at a time until the problem re-appears.

This should help to highlight where the problem is.

You can also try adding verbose logging to your application. This will show you exactly what your page is doing whilst you're waiting for the response.


这篇关于请求Web应用程序上的超时问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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