无论何时发生异常,我都会收到来自我网站的错误邮件。我得到了这个错误:
远程主机关闭了连接。错误代码是0x800704CD
不知道为什么。我一天大概有30个。我也无法重现这个错误,因此无法跟踪问题。
网站是运行在 IIS7上的 ASP.NET 2。
堆栈跟踪:
在 System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError (Int32 结果,布尔值为 throwOnDisconnect) System.Web.Hosting.IIS7WorkerRequest 在 HttpResponse. Flush (Boolean 同花顺) System.Web.HttpResponse. Flush () at System.Web.HttpResponse. End () at System.Web.UI.HttpResponseWrapper. System.Web.UI.IHttpResponse. End () 在 System.Web.UI.PageRequestManager.OnPageError (Object 发件人,EventArgs e)在 System.Web.UI.TemplateControl.OnError (EventArgs E)在 System.Web.UI.Page. HandleError (异常) E)在 System.Web.UI.Page. ProcessRequestMain (Boolean 包括 AsyncPoint,Boolean 之前的阶段 包括 StagesAfterAsyncPoint) System.Web.UI.Page. ProcessRequest (Boolean 包括 AsyncPoint,Boolean 之前的阶段 包括 StagesAfterAsyncPoint) System.Web.UI.Page. ProcessRequest () at System.Web.UI.Page.ProcessRequestWithNoAssert (HttpContext 上下文) System.Web.UI.Page.ProcessRequest (HttpContext 上下文) Default _ aspx. ProcessRequest (HttpContext 上下文) System.Web.HttpApplication.CallHandlerExectionStep.System.Web.HttpApplication.IExectionStep.Execute () 在 System.Web.HttpApplication.ExecuteStep (IExectionStep 步骤、布尔值及同步完成)