spent quite a while now looking into The remote host closed the connection. The error code is 0x80070057 problem. Here is the complete exception details:
<error
host="Testserver"
type="System.Web.HttpException"
message="The remote host closed the connection. The error code is 0x80070057."
source="System.Web"
detail="System.Web.HttpException:
The remote host closed the connection. The error code is 0x80070057.

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 System.Web.HttpResponseWrapper.Flush()

at test.Core.Utils.BufferedStreamCopy.Copy(Stream source, Stream output, Action flushDelegate, Func`1 streamPredicate)

at test.Core.Utils.BufferedStreamCopy.CopyToResponse(Stream source, HttpResponseBase response)

at test.Core.Utils.BufferedStreamCopy.Proxy(HttpWebResponse incoming, HttpResponseBase outgoing)

at test.Util.Web.HttpDirectResponse.ProxyToResponse(HttpResponseBase clientResponse)

at test.Core.Mvc.Extensions.ActionResults.ProxyResult.ExecuteResult(ControllerContext context)

at System.Web.Mvc.ControllerActionInvoker.InvokeActionResult(ControllerContext controllerContext, ActionResult actionResult)

at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass11.<InvokeActionResultWithFilters>b__e()

at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilter(IResultFilter filter, ResultExecutingContext preContext, Func`1 continuation)

at System.Web.Mvc.ControllerActionInvoker.<>c__DisplayClass11.<>c__DisplayClass13.<InvokeActionResultWithFilters>b__10()

at System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult)

at System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName)

at System.Web.Mvc.Controller.ExecuteCore()
 at System.Web.Mvc.ControllerBase.Execute(RequestContext requestContext)

at System.Web.Mvc.ControllerBase.System.Web.Mvc.IController.Execute(RequestContext requestContext)

at System.Web.Mvc.MvcHandler.ProcessRequest(HttpContextBase httpContext)

at System.Web.Mvc.MvcHandler.ProcessRequest(HttpContext httpContext)

at System.Web.Mvc.MvcHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext httpContext)

at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)"
user="[email protected]"
time="2012-01-25T11:07:23.4869634Z"
statusCode="500">
Well, I don have any idea of why we get this error. I see a lot of these in my elmah log. Any ideas how to fix and why this occurs .