Sunday, April 22, 2012 9:16 PM
Recently we replaced TFS Database server to new server, after replacement i am rebuilding TFSWarehouse database, I am getting below exception.
TF10010: Source control unexpectedly encountered the end of the stream with encoding 1200.
In the particular changeset having issues has all files (SQL Scripts) has the change type "rename". Both previous and current version of the file has same encoding "utf-16"
Detailed Message: Microsoft.TeamFoundation.VersionControl.Adapter: An unexpected exception occurred while calculating code churn: Calculating differences. Previous: changeset 5527, item $/xxx/Stored Procedures/dbo.StoredProcedure1.StoredProcedure.sql, encoding 1200. Current: changeset 5585, item $/xxx/Stored Procedures/dbo.StoredProcedure1.StoredProcedure.sql, encoding 1200. , exception:
Exception Message: TF10010: Source control unexpectedly encountered the end of the stream: The character was incomplete at stream offset 249. (type IOException)
Looks like it is a known issue, is there any fix available for this?
We are using TFS 2008 sp1 with SQL Server 2005 SP2.
Monday, April 23, 2012 7:49 AMModerator
This case seems as same as yours, you can refer to it. http://social.msdn.microsoft.com/Forums/en-US/tfsreporting/thread/d51895ef-29cd-4fd4-b1d2-afe4a82ed348
As Bill said this issue will be fixed in Rosario. I didn't find a workaround. There's a private hotfix (not available in support.microsoft.com) available. But you need to open a support incident at http://support.microsoft.com for verification.
Lily Wu [MSFT]
MSDN Community Support | Feedback to us