www.fgks.org   »   [go: up one dir, main page]

Tuesday, July 26, 2016
  • Home
  •             

TFS Build Failure Due to IIS Connection close

November 17th, 2011 by Patrick S

I stumbled across a quirky issue today which was causing scheduled TFSBuild jobs to fail with the following error: “Unable to read data from the transport connection: An existing connection was forcibly closed by the remote host”. When executing the build definition manually I could not reproduce the issue; the build would run through without any errors.

After a bit of searching it turns out there is a small bug in IIS 7.5 (introduced in Windows Server 2008 R2) which prevents TFS downloading files larger than 2MB over a slow network connection; IIS will expire the idle connection time-out and disconnect mid-transfer.

Installing KB981898 from Microsoft Support will fix this bug and allow TFS builds to run-through without any issues.

-Patrick

Posted in Bugs, Visual Studio | Comments Off on TFS Build Failure Due to IIS Connection close