FIX: Error message when you use the Team Foundation Server feature in Visual Studio 2008 Team Foundation Server: "A run-time error Microsoft.TeamFoundation.Build.Client.BuildServerException"

When you use the Team Foundation Build feature in Microsoft Visual Studio 2008 Team Foundation Server, an error message is logged in the application event log on the application tier server. This error message resembles the following:

Event Type:           ErrorEvent Source:       TFS WarehouseEvent Category:    NoneEvent ID:                3000User:                      N/AComputer:             Computer_nameDescription:TF53010: The following error has occurred in a Team Foundation component or extension:Date (UTC): 1/1/2008 1:54:51 PMMachine: Computer_nameApplication Domain: /LM/W3SVC/3/Root/Warehouse-1-128473842235183533Assembly: Microsoft.TeamFoundation.Warehouse, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727Process Details:  Process Name: w3wp  Process Id: 4228  Thread Id: 3160  Account name: Domain\User_nameDetailed Message: TF51209: A run-time error Microsoft.TeamFoundation.Build.Client.BuildServerException: Exception of type 'System.OutOfMemoryException' was thrown. ---> System.Web.Services.Protocols.SoapException: Exception of type 'System.OutOfMemoryException' was thrown.--- End of inner exception stack trace ---at Microsoft.TeamFoundation.Client.TeamFoundationClientProxy.ProcessHttpResponse(HttpWebResponse response, Stream responseStream, WebException webException, XmlReader& xmlResponseReader)at Microsoft.TeamFoundation.Client.TeamFoundationClientProxy.ExecWebServiceRequest(HttpWebRequest request, XmlWriter requestXml, String methodName, HttpWebResponse& response)at Microsoft.TeamFoundation.Build.Client.BuildService.QueryBuilds(BuildDetailSpec[] specs)at Microsoft.TeamFoundation.Build.Client.BuildServer.QueryBuilds(IBuildDetailSpec[] buildDetailSpecs)at Microsoft.TeamFoundation.Build.Adapter.TeamBuildAdapter.GetListOfBuildsForUpload(Dictionary`2& projectNameDict)at Microsoft.TeamFoundation.Build.Adapter.TeamBuildAdapter.ProcessAndUploadBuildData()at Microsoft.TeamFoundation.Build.Adapter.TeamBuildAdapter.MakeDataChanges()at Microsoft.TeamFoundation.Warehouse.AdapterWrapper.RunTimerAdapter() occurred on adapter Microsoft.TeamFoundation.Build.Adapter.TeamBuildAdapter

This error prevents the Team Foundation Server warehouse synchronization operation from completing. Therefore, the report data is out of sync.
This problem occurs because of a bug in the adapter component in Team Foundation Build.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:

Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:

Note This hotfix should be applied to the Team Foundation Server application tier server.


You must have Visual Studio 2008 Team Foundation Server installed to apply this hotfix.

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
File nameFile versionFile sizeDateTime
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about Team Foundation Build, visit the following Microsoft Developer Network (MSDN) Web site:For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 949255 - Last Review: 05/12/2008 15:00:03 - Revision: 1.3

Microsoft Visual Studio Team System 2008 Team Foundation Server

  • kbfix kbexpertiseadvanced kbqfe KB949255