.NET 2.0: An established connection was aborted by the software in your host machine
Scenario:
I try to post a video to YouTube with the following code:
YouTubeEntry createdEntry = service.Upload(newEntry);
This works fine on my developer machine (running Windows XP).
- It fails on a Win2k server (running .NET 2.0) with the following error:
2010-07-15||01:14:08 PM||An established connection was aborted by the software in your host machine||System|||| at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size开发者_开发问答, SocketFlags socketFlags) --> at System.Net.Sockets.NetworkStream.Write(Byte[] buffer, Int32 offset, Int32 size)
My Question:
- How should I troubleshoot this?
- Check to ensure that you are not being blocked by firewalls or TCP filtering on the server
- Run a network trace to see what traffic is actually being communicated from your server
- Check HTTP KeepAlive is disabled (seeing a lot of people having issues with this on)
- Google it for any other possible reasons that this could fail on your server.
精彩评论