![](/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.