srizzetto-microgate
-
6/26/2009 2:38:31 AM
The remote host closed the connection. The error code is 0x80072746.
There are several month that I'm affected by this bug. I use Health Monitoring system of ASP.NET that sends me an email every exception it occurs.
I receive dozen of these every day (see below); when a user download a file or show a pictures it raises that error
I the beginning I was thinking it happens only for large files and when the user's connection speed was very low. But now it happens also with ME myself (I recognize that it was me from the IP) who am in LAN with the webserver and try to download a picture of 30 kb !!
Your support (ticket 72929) suggested me to increase timeout and lenght in web.config, so I put:
<httpRuntime maxRequestLength="2097151" executionTimeout="999999" />
Then I try to put Response.BufferOutput = true;
in the SendFile() method of GetFile.aspx.cs file
None has worked; I still receive these errors.
I only hope that for the final user this will be "transparent", because when it happens to me, I don't see any exception in navigation and it seems all is ok, but after a minute the mail comes, with the "bastard" exception :-)
Thanks for your help Sandro =====================
** Events ** --------------- Event code: 3005 Event message: An unhandled exception has occurred. Event time: 6/26/2009 9:14:24 AM Event time (UTC): 6/26/2009 7:14:24 AM Event ID: 9da53c5ec35147f792100c74a6568c3e Event sequence: 164 Event occurrence: 3 Event detail code: 0
Process information: Process ID: 3824 Process name: w3wp.exe Account name: NT AUTHORITY\NETWORK SERVICE
Exception information: Exception type: System.Web.HttpException Exception message: The remote host closed the connection. The error code is 0x80072746.
Request information: Request URL: http://www.optojump.de/CMSPages/getfile.aspx?height=150&width=200&guid=20c692d0-fa84-414d-9b04-5c388685b672 Request path: /CMSPages/getfile.aspx User host address: 192.168.0.173 User: Is authenticated: False Authentication Type: Thread account name: NT AUTHORITY\NETWORK SERVICE
Thread information: Thread ID: 1 Thread account name: NT AUTHORITY\NETWORK SERVICE Is impersonating: False Stack trace: at System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.FlushCore(Byte[] status, Byte[] header, Int32 keepConnected, Int32 totalBodySize, Int32 numBodyFragments, IntPtr[] bodyFragments, Int32[] bodyFragmentLengths, Int32 doneWithSession, Int32 finalStatus, Boolean& async) at System.Web.Hosting.ISAPIWorkerRequest.FlushCachedResponse(Boolean isFinal) at System.Web.Hosting.ISAPIWorkerRequest.FlushResponse(Boolean finalFlush) at System.Web.HttpResponse.Flush(Boolean finalFlush) at System.Web.HttpResponse.Flush() at CMS.UIControls.GetFilePage.WriteFile(String filepath, Boolean returnOutputData) at CMSPages_GetFile.SendFile(CMSOutputFile file) at CMSPages_GetFile.Page_Load(Object sender, EventArgs e) at System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
|