开发者

.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?


  1. Check to ensure that you are not being blocked by firewalls or TCP filtering on the server
  2. Run a network trace to see what traffic is actually being communicated from your server
  3. Check HTTP KeepAlive is disabled (seeing a lot of people having issues with this on)
  4. Google it for any other possible reasons that this could fail on your server.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜