Page 1 of 1

Exception: The remote host closed the connection

Posted: Thu Oct 23, 2014 11:34 am
by AbleMods
Can we mask these via global.asax soon?

We get a lot of these in the error log and there's really no point in recording the error.

Always on this url:
/Members/Download.ashx?id=<some id>

Re: Exception: The remote host closed the connection

Posted: Fri Oct 24, 2014 2:10 am
by jmestep
Yes, and can you get rid of the GetImage errors also? One client gets about 20 a day and is worried no matter how I try to explain it.
Two errors at the same time
An error has occured at http://www.xxx.com/GetImage.ashx?mainta ... .-Vu-C.jpg....

An error occured while processing the image, An error occurred while communicating with the remote host. The error code is 0x80070057.
Exception: An error occurred while communicating with the remote host. The error code is 0x80070057. Stack Trace: 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.HttpResponse.Flush() at AbleCommerce.GetImage.ServeImage(HttpResponse response, String path, Int32 desiredHeight, Int32 desiredWidth, Int32 maxHeight, Int32 maxWidth, Boolean maintainAspectRatio, Int64 quality) at AbleCommerce.GetImage.ProcessRequest(HttpContext context) Inner Exception: Specified method is not supported. Inner Exception Stack Trace: at System.Web.HttpResponseStream.get_Position() at System.Drawing.UnsafeNativeMethods.ComStreamFromDataStream.Seek(Int64 offset, Int32 origin)