FIX: Error message when you check in a UTF-8 or UTF-16 encoding file and then update the warehouse in Visual Studio 2008 Team Foundation Server: "An unexpected exception occurred while calculating code churn"
Event Type: ErrorEvent Source: TFS WarehouseEvent Category: NoneEvent ID: 3000Date: DateTime: TimeUser: N/AComputer: Computer_nameDescription:TF53010: The following error has occurred in a Team Foundation component or extension:Date (UTC): 2/6/2008 4:38:12 PMMachine: TFS_Server_NameApplication Domain: /LM/W3SVC/2065885810/Root/Warehouse-2-128467891781637561Assembly: Microsoft.TeamFoundation.Warehouse, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727Process Details:Process Name: w3wpProcess Id: 1984Thread Id: 2724Account name: NT AUTHORITY\NETWORK SERVICEDetailed 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)
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.
PrerequisitesYou must have Visual Studio 2008 Team Foundation Serverinstalled to apply this hotfix.
Restart requirementYou do not have to restart the computer after you apply this hotfix.
Hotfix replacement informationThis hotfix does not replace any other hotfixes.
File informationThe 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 name||File version||File size||Date||Time||Platform|
Article ID: 946260 - Last Review: 04/30/2008 04:17:46 - Revision: 1.3
- kbexpertiseinter kbfix kbqfe KB946260