Microsoft KB Archive/940229

= FIX: When the Microsoft.TeamFoundation.VersionControl.Adapter adapter processes a changeset, the adapter may fail in Visual Studio 2005 Team Foundation Server =

Article ID: 940229

Article Last Modified on 9/21/2007

-

APPLIES TO


 * Microsoft Visual Studio 2005 Team Foundation Server

-



SYMPTOMS
Consider the following scenario. In Visual Studio 2005 Team Foundation Server (TFS), the Microsoft.TeamFoundation.VersionControl.Adapter adapter processes a changeset. The changeset contains a file that is moved between projects in Visual Studio 2005 Team Foundation Server. In this scenario, the adapter may fail, and some data in the source code may be reported missing. Additionally, on the TFS application tier computer, the following event is logged in the Application log:

Event Type: Error

Event Source: TFS Warehouse

Event Category: None

Event ID: 3000

Date:

Time: 5:21:26 AM

User: N/A

Computer:

Description:

TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff.

Technical Information (for the administrative staff):

Date (UTC): 3/14/2007 12:21:26 PM

Machine:

Application Domain: /LM/W3SVC/3/Root/Warehouse-5-128183229670698638

Assembly: Microsoft.TeamFoundation.Warehouse, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727

Process Details:

Process Name: w3wp

Process Id: 424

Thread Id: 4472

Account name:

Detailed

Microsoft.TeamFoundation.VersionControl.Adapter: An error occurred while processing changeset, unexpected exception:

Exception Msg: Object reference not set to an instance of an object. (type NullReferenceException)

Exception Stack Trace: at Microsoft.TeamFoundation.VersionControl.Adapter.VCAdapter.persistChangesetInformation(FilePair fp, String sidForUserThatMadeChange, Boolean doOnlyRenameDebit) at Microsoft.TeamFoundation.VersionControl.Adapter.VCAdapter.processChangesets

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.



CAUSE
This problem occurs because of a code defect in the Microsoft.TeamFoundation.VersionControl.Adapter.dll file.



Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that is described in this article. Apply it only to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Visual Studio 2005 Team Foundation Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:

http://support.microsoft.com/contactus/?ws=support

Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.Note This is server-side hotfix. You must apply this hotfix to the TFS application tier computer or to a single tier TFS computer. You do not have to apply this hotfix to the client computer or to the TFS data tier.

Prerequisites
You must have Visual Studio 2005 Team Foundation Server Service Pack 1 installed on the TFS application tier computer or on a single tier TFS computer 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 any other hotfixes.

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.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the &quot;Applies to&quot; section.



MORE INFORMATION
TFS collects data about the operations that are performed on the server. This data is stored in a data warehouse. The data in the OLAP database comes from this data warehouse. The OLAP database uses this data for reporting. By default, the TFS warehouse is updated every hour by running registered data adapters. The registered data adapters are used to pull the necessary data from the TFS areas into the warehouse. The Microsoft.TeamFoundation.VersionControl.Adapter adapter collects information about source control operations.

For more information about the Team Foundation Server data warehouse, visit the following Microsoft Web site:

http://msdn2.microsoft.com/en-us/library/ms244696(VS.80).aspx

For more information, 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

Keywords: kbexpertiseadvanced kbfix kbpubtypekc kbqfe kbhotfixserver KB940229

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.