![](/img/trans.png)
[英]Linq Count() timing out -Execution Timeout Expired. The timeout period elapsed prior to completion of the operation or the server is not responding
[英]Timeout expired. The timeout period elapsed prior to completion of the operation or the server. The wait operation timed out - strange behavoiur
我知道SO中有很多这类主题,但想向我介绍一下具体示例。
从Web应用程序(ADO.NET,ASP.NET MVC)运行操作时,出现错误: 超时已过期。 在操作或服务器完成之前经过了超时时间。 等待操作超时
但是从第二只手直接在db原始查询上运行时(由探查器捕获)仅花费2秒。
背景:
建议:
找到了很多类似的帖子,这对我来说似乎特别有趣: https : //stackoverflow.com/a/8603111 ,并且想知道有关清除统计信息(exec sp_updatestats)的信息。
题:
您是否有类似的经历,也许还有以上建议的其他建议? 原始查询在短时间内运行但由于webapp超时导致的原因可能是什么?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.