Microsoft small business knowledge base

Article ID: 946260 - Last Review: April 30, 2008 - Revision: 1.3

On This Page


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
Date: Date
Time: Time
User: N/A
Computer: Computer_name
TF53010: The following error has occurred in a Team Foundation component or extension:

Date (UTC): 2/6/2008 4:38:12 PM

Machine: TFS_Server_Name

Application Domain: /LM/W3SVC/2065885810/Root/Warehouse-2-128467891781637561

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

Process Details:

Process Name: w3wp

Process Id: 1984

Thread Id: 2724


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.__Error.WinIOError()

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)
Note This problem occurs only when the Team Foundation Server application tier components are not installed on the system disk.


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 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.

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.
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform


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:
824684  ( ) Description of the standard terminology that is used to describe Microsoft software updates

  • Microsoft Visual Studio Team System 2008 Team Foundation Server
kbexpertiseinter kbfix kbqfe KB946260
Additional support options
Ask The Microsoft Small Business Support Community
Contact Microsoft Small Business Support
Find Microsoft Small Business Support Certified Partner
Find a Microsoft Store For In-Person Small Business Support