简体   繁体   English

在页面检索之前,请求已超时。 asp.net Web应用程序长时间服务器处理

[英]The request timed out before the page could be retrieved. asp.net web application long server processing

i have a web application which which proccesses some request on some data that client selects, when the client selects more than 20 objects and clicks on proceed the client recieves this error, because the server takes a long time to process, however if the records are less and hence a timely response is recieved, no such error comes can someone help me on this? 我有一个Web应用程序,它对客户端选择的某些数据进行一些请求,当客户端选择20个以上的对象并单击继续时,客户端会收到此错误,因为服务器需要很长时间才能处理,但是如果记录是更少,因此得到及时的响应,没有这样的错误有人可以帮助我吗?

i have increased the sessiontimeout as well as set the 我增加了sessiontimeout并设置了

Try adjusting the executionTimeout in your web.config...this only applies if debug is set to false however. 尝试在web.config中调整executionTimeout超时...仅在debug设置为false时才适用。

<httpRuntime 
    executionTimeout="some number"
  />

If this alone does not solve your issue, check out this blog post which goes into a bit more depth on how to structure your timeouts. 如果仅此一项不能解决您的问题,请查看此博客文章 ,该文章对如何构造超时有更深入的了解。 Note the IIS reference towards the bottom... 请注意底部的IIS参考...

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

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