我在我的项目中使用elmah - >Elmah.axd来查找错误。
有类似这样的错误:远程主机关闭连接错误,怎么修复?
System.Web.HttpException: The remote host closed the connection. The error code is 0x800703E3.
Generated: Sun, 27 Nov 2011 13:06:13 GMT
System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.Web.HttpException (0x800703E3): The remote host closed the connection. The error code is 0x800703E3.
at System.Web.Hosting.IIS7WorkerRequest.RaiseCommunicationError(Int32 result, Boolean throwOnDisconnect)
at System.Web.Hosting.IIS7WorkerRequest.ExplicitFlush()
at System.Web.HttpResponse.Flush(Boolean finalFlush)
at System.Web.HttpWriter.TransmitFile(String filename, Int64 offset, Int64 size, Boolean isImpersonating, Boolean supportsLongTransmitFile)
at System.Web.HttpResponse.TransmitFile(String filename, Int64 offset, Int64 length)
at SalarSoft.Utility.SP1.ResumeDownload.ProcessDownload(String fileName, String headerFileName)
at NiceFileExplorer.en.Download.DownloadFile_SalarSoft(String fileName)
at NiceFileExplorer.en.Download.GoForDownloadFile(String filepath)
at NiceFileExplorer.en.Download.MainCodes()
at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.HandleError(Exception e)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
at System.Web.UI.Page.ProcessRequest()
at System.Web.UI.Page.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
与网站工作的过程中,我们没有看到这个错误。
但elmah多次向我发送此错误。
这个错误意味着什么,我该如何解决它?
编辑1
{我的网站是立即下载移动文件和某些时候,它真的很忙}
{我使用的Windows Server 2008 [2->远程访问}评论后
EDIT 2
一些窗口的信息和警告(没有错误)今天日志象下面这样:
警告
服务应用程序池“ASP.NET 4.0(Integrated)”的进程在关闭期间超过了 时间限制。进程ID是'6764'。
警告
的工作进程 '3232' 服务应用程序池ASP.NET 4.0 (集成)'失败在 停协议的听者信道的 'http' 所分配的时间。数据字段包含错误编号。
警告
进程服务应用程序池 'ASP.NET 4.0(集成)' 关闭过程中超出 时间限制。进程ID是'3928'。
您需要找出远程主机关闭连接的原因。 –
你将不得不在服务器上看。例如,服务器上的Windows事件日志;也许是IIS日志。 –
@John Saunders嗨,感谢评论,PLZ看到我编辑2. – MoonLight