Jeff Sanders Technical Blog

I am a Microsoft employee that has worked on all aspects of the Web Stack for a long time. I hope these blogs are useful to you! Use this information at your own risk.


<< Go Back

The Underlying Connection Was Closed An Unexpected Error Occurred On A Receive

- 01 Dec 2008

This article is a great help http://support.microsoft.com/kb/915599 however, there is another potential cause.  If the target server resets the connection without replying with an HTTP status (for example 200 OK) you can also get this error.  Solution, find out why the server is reseting the connection.  Common causes include the target of the HTTP traffic is not handling exceptions and crashing, forcing the web server to recycle that process (app pool for IIS) and this sends the TCP RST.

<< Go Back