Windows Update (KB2468871) interferes with TFS 2010 (w/o SP1)

By | 2011-09-23T14:55:06+00:00 September 23rd, 2011|Team Foundation Build, Team Foundation Server|4 Comments

anti-bugs,anti-insects,beetles,bugs,bugs forbidden sign,cropped images,cropped pictures,forbidden,insects,insects forbidden sign,no bugs,no bugs sign,no insects,no insects sign,PNG,signs,symbols,transparent backgroundAfter installing the latest Windows Update related to .NET 4.0 (KB2468871), Team Builds may begin failing (or simply hanging).  Error logs will show an exception raised that a version of ‘System.Runtime.DurableInstancing’ cannot be loaded.

Installing TFS 2010 SP1 will solve the problem. (Also, please install TFS 2010 SP1 CU1 to fix the issues introduced by SP1.)

It appears as though KB2468871 (recently pushed through Windows Update) has the potential of breaking TFS 2010 servers without SP1 installed.  (See for the details of the patch.)  The particular offending part is the update of the .NET 4.0 framework. 

After running windows update on your TFS App Tier and your Team Build machines, automated builds will begin to fail or hang.  Looking into the event log will show the error below.  (Also, see notes below for other ways to test if you have the problem.)


The exception text reads something like:

Exception Message: Could not load file or assembly ‘System.Runtime.DurableInstancing, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35’ or one of its dependencies. The located assembly’s manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) (type BuildServerException)

Exception Stack Trace:    at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)
   at Microsoft.TeamFoundation.Client.TeamFoundationClientProxyBase.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)
   at Microsoft.TeamFoundation.Build.Client.AdministrationWebService.TestBuildControllerConnection(Uri controllerUri)
   at Microsoft.TeamFoundation.Build.Client.BuildServer.TestConnectionForBuildController(IBuildController controller)
   at Microsoft.TeamFoundation.Build.Machine.ControllerService.TestService()

Unfortunately, short of rolling back the Windows Update, you’re going to have to either install TFS 2010 SP1 immediately, or work some version re-direction magic in the GAC.  This means you’re likely installing SP1 under duress, but there are very limited options.

Don’t forget to install VS 2010 SP1 as well if you have Visual Studio 2010 or Team Explorer 2010 on any of your TFS 2010 or Team Build servers.

You can find downloads here:

Your Team Builds will begin running immediately upon installing the TFS 2010 SP1 (and possibly a reboot), however, I really recommend getting everything up to the same versions while your in forced maintenance anyway.

Here’s a few other ways to validate you have the issue:

1) Open up the TFS Administration Console, Select Build Configuration and click Properties on any of the Agents.


2) In the Build Agent Properties window, click the Test Connection button.  If you get the System.Runtime.DurableInstancing error, you have the problem and will need to install TFS 2010 SP1 to correct it.


Good luck!

About the Author:


  1. […] Windows Update (KB2468871) Interferes with TFS 2010 (w/o SP1) from Northwest Cadence The crew from Northwest Cadence lets us know that the latest Windows Update related to .NET 4.0 (KB2468871) will cause problems with builds that will fail or simply hang. The solution is to get TFS 2010 SP1 installed on the build server (or servers) to solve the problem. This post authored by Trent Nix Read more from Blog Click here to cancel reply. […]

  2. Links–09/28/2011 » ALM Rocks! September 28, 2011 at 2:22 am

    […] Windows Update (KB2468871) interferes with TFS 2010 (w/o SP1) […]

  3. […] What’s this ‘System.Runtime.DurableInstancing’ exception all about?  There’s a Windows Update (KB2468871) that interferes with TFS 2010 if you aren’t running TFS 2010 SP1.  You can read more about it here. […]

  4. […] What’s this ‘System.Runtime.DurableInstancing’ exception all about?  There’s a Windows Update (KB2468871) that interferes with TFS 2010 if you aren’t running TFS 2010 SP1.  You can read more about it here. […]

Leave A Comment