Consider the following scenario. You check in a UTF-8 or UTF-16 encoding file in Microsoft Visual Studio 2008 Team Foundation Server. Then, you update the warehouse in Team Foundation Server. In this scenario, an error message that resembles the following may be logged in the event log:
Event Type: Error
Event Source: TFS Warehouse
Event Category: None
Event ID: 3000
TF53010: The following error has occurred in a Team Foundation component or extension:
Date (UTC): 2/6/2008 4:38:12 PM
Application Domain: /LM/W3SVC/2065885810/Root/Warehouse-2-128467891781637561
Assembly: Microsoft.TeamFoundation.Warehouse, Version=184.108.40.206, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727
Process Name: w3wp
Process Id: 1984
Thread Id: 2724
Account name: NT AUTHORITY\NETWORK SERVICE
Detailed Message: Microsoft.TeamFoundation.VersionControl.Adapter: An unexpected exception occurred while calculating code churn: Calculating differences. Previous: changeset 9, item $/Test/Test2.txt, encoding 65001. Current: changeset 11, item $/Test/Test2.txt, encoding 65001. , exception:
Exception Message: The file exists.
Exception Stack Trace: at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Move(String sourceFileName, String destFileName)
at Microsoft.TeamFoundation.Common.FileSpec.MoveFile(String oldPath, String newPath, Boolean overwriteExisting)
at Microsoft.TeamFoundation.Common.TFCommonUtil.ConvertFileEncoding(String sourcePath, String destPath, Encoding sourceEncoding, Encoding destEncoding, Boolean includeBom)
at Microsoft.TeamFoundation.Common.TFCommonUtil.ConvertFileEncoding(String sourcePath, String destPath, Encoding sourceEncoding, Encoding destEncoding)
at Microsoft.TeamFoundation.VersionControl.Adapter.Hatteras.Diff(String previousName, Int32 previousEncoding, String currentName, Int32 currentEncoding)
at Microsoft.TeamFoundation.VersionControl.Adapter.Hatteras.calculateDifferences(Item previous, Item current)
This problem occurs only when the Team Foundation Server application tier components are not installed on the system disk.
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:
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.
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:
If you have Visual Studio 2008 Team Foundation Server installed on a dual server, you must apply this hotfix only on the application tier server.
You must have Visual Studio 2008 Team Foundation Server
installed to apply this hotfix.
You do not have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace any other hotfixes.
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.
Collapse this tableExpand this table
|File name||File version||File size||Date||Time||Platform|
To work around this problem, install the Team Foundation Server application tier components on the system disk.
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
Description of the standard terminology that is used to describe Microsoft software updates