我在我的項目中使用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