Unanswered TF10010: Source control unexpectedly encountered the end of the stream

  • Sunday, April 22, 2012 9:16 PM
     
     

    Hi,

    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.

    Thank you,

    Jagadeesh Urivinty

All Replies