locked
1-Way TFS 2010 to TFS 2010 Version Control Works for Some Team Projects But Not Others? RRS feed

  • Question

  • Hi,

    I've used the platform for ClearQuest and Subversion migrations to TFS and have a fairly good understanding of how it works.  I was surprised when a straight-forward TFS 2010 to TFS 2010 migrations for version control failed.

    We are having  to move TFS to a different domain, but not all team projects at the same time. I've experimented with the procedured to move TFS to a different environment without success.  As time is short, management wanted to move forward with the TFS Integration Platform thinking there would be no issues. Unfortuneately that's not the case. I have spent the last 2 working days trying to resolve this on my own with no success.

    The Environment

    I'm using the TFS Integration UI only (not using the services)
    Both the source and target servers are TFS 2010 SP1
    1-way only, VC only migration
    I downloaded and am using the latest version of the platform (MigrationConsole.exe version: 2.1.10324.00)


    The Problem

    The VC migration works for some source side Team Projects, but not others (all in the same collection). There are 2 log entries present when the migration fails that are not present when the migration succeeds. They are:

    [1/3/2012 4:02:11 PM] TfsMigrationShell.exe Information: 0 : ConfigurationChangeTracker did not detect any non-transient changes. No cached data will be deleted for session group '00000000-0000-0000-0000-000000000000'
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Warning: 0 : VersionControl: Unable to record sync point for migration source 07b6fd1d-2ab1-41ec-a2e8-27ffdbb8f551 of session e2bfa73f-b229-4c43-a2af-e97a39db93b3 because lastMigratedTargetItem.ItemId is null or empty
    I have duplicated the problem with dozens of migrations trying to isolate the cause. Can you please help me determine why some migrations are failing so I can fix the problem?  Thanks, Bob

    Full Logs

    A failed migration

    [1/3/2012 4:02:11 PM] TfsMigrationShell.exe Information: 0 : ConfigurationChangeTracker did not detect any non-transient changes. No cached data will be deleted for session group '00000000-0000-0000-0000-000000000000'
    [1/3/2012 4:02:11 PM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/3/2012 4:02:11 PM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/3/2012 4:02:11 PM] TfsMigrationShell.exe Information: 0 : : 2 Adapter instance(s) loaded
    [1/3/2012 4:02:11 PM] TfsMigrationShell.exe Information: 0 : : 3 Add-Ins loaded
    [1/3/2012 4:02:18 PM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Enter with sessionGroupUniqueId: 0b86b0a1-0593-4c44-84f5-816ce24f76f5
    [1/3/2012 4:02:18 PM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Creating new SyncOrchestrator
    [1/3/2012 4:02:18 PM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/3/2012 4:02:18 PM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/3/2012 4:02:18 PM] TfsMigrationShell.exe Information: 0 : : 2 Adapter instance(s) loaded
    [1/3/2012 4:02:18 PM] TfsMigrationShell.exe Information: 0 : : 3 Add-Ins loaded
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : : TFS WorkspaceRoot: C:\T\40
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : : Added TFS workspace mapping from server path '$/CwUI-v1/CwUI-v1/Src/Desktop/App/Shell' to local path 'C:\T\40\1\CwUI-v1\Src\Desktop\App\Shell'
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : : TFS WorkspaceRoot: C:\T\39
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : : Added TFS workspace mapping from server path '$/Target-TP/Test3' to local path 'C:\T\39\-TP\Test3'
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Starting SyncOrchestrator; now 0 running sessions
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Session worker thread [VersionControl] started
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Pipeline flow from 07b6fd1d-2ab1-41ec-a2e8-27ffdbb8f551 to b2f32017-1676-4d75-9275-085f9cebfea1
    [1/3/2012 4:02:19 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating delta tables for the migration source 07b6fd1d-2ab1-41ec-a2e8-27ffdbb8f551
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating linking delta for the migration source 07b6fd1d-2ab1-41ec-a2e8-27ffdbb8f551
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating delta tables for the migration source b2f32017-1676-4d75-9275-085f9cebfea1
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 774 : 1/1
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 774
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 1 actions for TFS change 774
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating migration instructions for the migration source b2f32017-1676-4d75-9275-085f9cebfea1
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting basic conflict detection
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Finishing basic conflict detection
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Loading 50 ChangeGroup(s)
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Post-processing delta table entries from the migration source b2f32017-1676-4d75-9275-085f9cebfea1
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Marking as 'DeltaComplete' the target-side delta table for uni-directional session
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Migrating to the migration source b2f32017-1676-4d75-9275-085f9cebfea1
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Loading 50 ChangeGroup(s)
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Processing linking delta
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Migrating links to the migration source b2f32017-1676-4d75-9275-085f9cebfea1
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Warning: 0 : VersionControl: Unable to record sync point for migration source 07b6fd1d-2ab1-41ec-a2e8-27ffdbb8f551 of session e2bfa73f-b229-4c43-a2af-e97a39db93b3 because lastMigratedTargetItem.ItemId is null or empty
    [1/3/2012 4:02:20 PM] TfsMigrationShell.exe Information: 0 : VersionControl: 
    [1/3/2012 4:02:21 PM] TfsMigrationShell.exe Information: 0 : VersionControl: VersionControl: Migration is done!
    [1/3/2012 4:02:21 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Session worker thread [VersionControl] completed

    A successful migration (different configuration)

     [1/3/2012 3:56:52 PM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Enter with sessionGroupUniqueId: 0463dd22-3362-4520-8c70-016fb6751b5f
    [1/3/2012 3:56:52 PM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Creating new SyncOrchestrator
    [1/3/2012 3:56:52 PM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/3/2012 3:56:52 PM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/3/2012 3:56:52 PM] TfsMigrationShell.exe Information: 0 : : 2 Adapter instance(s) loaded
    [1/3/2012 3:56:52 PM] TfsMigrationShell.exe Information: 0 : : 3 Add-Ins loaded
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : : TFS WorkspaceRoot: C:\T\38
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : : Added TFS workspace mapping from server path '$/CogDat-v1/CogDat-v1/UI/Src/CogDat.Web' to local path 'C:\T\38\-v1\CogDat-v1\UI\Src\CogDat.Web'
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : : TFS WorkspaceRoot: C:\T\37
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : : Added TFS workspace mapping from server path '$/Target-TP' to local path 'C:\T\37\-TP'
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Starting SyncOrchestrator; now 0 running sessions
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Session worker thread [VersionControl] started
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Pipeline flow from d387bc7f-e50a-4fed-ab55-f1afafe0babc to da647ad1-ebbd-4df2-8bd4-18c29690dede
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating delta tables for the migration source d387bc7f-e50a-4fed-ab55-f1afafe0babc
    [1/3/2012 3:56:53 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 1914 : 1/29
    ...

    [1/3/2012 3:56:57 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 1 actions for TFS change 4162
    [1/3/2012 3:56:57 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating linking delta for the migration source d387bc7f-e50a-4fed-ab55-f1afafe0babc
    [1/3/2012 3:56:57 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating delta tables for the migration source da647ad1-ebbd-4df2-8bd4-18c29690dede
    [1/3/2012 3:56:57 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 798 : 1/6
    [1/3/2012 3:56:58 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 798
    [1/3/2012 3:56:58 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 4 actions for TFS change 798
    ...

    [1/3/2012 3:56:58 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 803 : 6/6
    [1/3/2012 3:56:58 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 803
    [1/3/2012 3:56:59 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 3 actions for TFS change 803
    [1/3/2012 3:56:59 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating migration instructions for the migration source da647ad1-ebbd-4df2-8bd4-18c29690dede
    [1/3/2012 3:56:59 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating migration instruction for ChangeGroup 569
    [1/3/2012 3:56:59 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating migration instruction for ChangeGroup 570
    ...

    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating migration instruction for ChangeGroup 597
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting basic conflict detection
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Finishing basic conflict detection
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Loading 50 ChangeGroup(s)
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Target AnalysisProvider detecting conflicts in ChangeGroup #604
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Target AnalysisProvider detecting conflicts in ChangeGroup #605
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Target AnalysisProvider detecting conflicts in ChangeGroup #606
    ...

    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Target AnalysisProvider detecting conflicts in ChangeGroup #631
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Target AnalysisProvider detecting conflicts in ChangeGroup #632
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Post-processing delta table entries from the migration source da647ad1-ebbd-4df2-8bd4-18c29690dede
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Marking as 'DeltaComplete' the target-side delta table for uni-directional session
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Migrating to the migration source da647ad1-ebbd-4df2-8bd4-18c29690dede
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Loading 50 ChangeGroup(s)
    [1/3/2012 3:57:01 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Processing ChangeGroup #604, change 1914
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : VersionControl: Skipped the change action that creates team project
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Finished scheduling!
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/Properties/AssemblyInfo.cs already exists.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:02 PM] TfsMigrationShell.exe Warning: 0 : The item $/Target-TP/ClientBin/Ows.Modules.PolicyUi.xap could not be found in your workspace, or you do not have permission to access it.
    [1/3/2012 3:57:03 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Checking in 14 items, owner ###\user###
    [1/3/2012 3:57:05 PM] TfsMigrationShell.exe Information: 0 : VersionControl: TF14045: The identity ###\user### is not a recognized identity.
    [1/3/2012 3:57:05 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Unable to checkin to TFS using the identity ###\user###.  Converting to default credentials.
    [1/3/2012 3:57:07 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Checked in change 804
    [1/3/2012 3:57:07 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Processing ChangeGroup #605, change 3336
    [1/3/2012 3:57:07 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Finished scheduling!
    [1/3/2012 3:57:07 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Checking in 1 items, owner ###\user###
    [1/3/2012 3:57:07 PM] TfsMigrationShell.exe Information: 0 : VersionControl: TF14045: The identity ###\user### is not a recognized identity.
    [1/3/2012 3:57:07 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Unable to checkin to TFS using the identity ###\user###.  Converting to default credentials.
    ...
    [1/3/2012 3:57:39 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Checked in change 832
    [1/3/2012 3:57:39 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Processing linking delta
    [1/3/2012 3:57:39 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Migrating links to the migration source da647ad1-ebbd-4df2-8bd4-18c29690dede
    [1/3/2012 3:57:39 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Recorded sync point for migration source d387bc7f-e50a-4fed-ab55-f1afafe0babc of session e7ceb91e-8fcf-44e0-adbf-2e3456264411 with Source High Water Mark 'HWMDelta' value of '4162'
    [1/3/2012 3:57:39 PM] TfsMigrationShell.exe Information: 0 : VersionControl: 
    [1/3/2012 3:57:39 PM] TfsMigrationShell.exe Information: 0 : VersionControl: VersionControl: Migration is done!
    [1/3/2012 3:57:39 PM] TfsMigrationShell.exe Information: 0 : VersionControl: Session worker thread [VersionControl] completed

     

     


    Bob Hardister

    Tuesday, January 3, 2012 10:42 PM

Answers

  • Hi Bill,

    I believe I solved the problem. The account I was using, TfsService, is automatically added as a user at the collection level (root) node in source control. All the permissions for this account here had been set to deny.  I removed the account from the node and TFS added it back, but with no Allow or Deny permissions specified. However it does have permissions granted at the team project level.

    I then re-tried the migration and it worked.

    The thing that still confuses me is why it ever worked at all for one of the team projects in the same collection? 

    It would have been helpful if the log provided some indication that the account was not able to read the source due to permissions.

    Cheers, Bob


    Bob Hardister
    • Marked as answer by BobHardister Wednesday, January 4, 2012 3:22 PM
    Wednesday, January 4, 2012 3:21 PM

All replies

  • Bob, are you creating new sessions for each migration using the TfsMigrationShell UI?    

    The fact that you see the message "... session group '00000000-0000-0000-0000-000000000000'" is a red flag to me: is that the Guid for the SessionGroup that is in your XML configuration?   It should have a non-empty Guid for the SessionGroup (and be different for each migration you run).

    The log for the failed migration shows that it finds one change on the source side but never migrates it to the target side. One possible cause for that is that it thinks it has already migrated that changeset in a previous run of the session - it seems like it thinks it is re-running the session group (because the Guid is empty for both?)

    BTW, the message:
    "[1/3/2012 4:02:20 PM] TfsMigrationShell.exe Warning: 0 : VersionControl: Unable to record sync point for migration source 07b6fd1d-2ab1-41ec-a2e8-27ffdbb8f551 of session e2bfa73f-b229-4c43-a2af-e97a39db93b3 because lastMigratedTargetItem.ItemId is null or empty" is somewhat of a red herring - it is a bug that it logs that message, but it is really benign - it just happens whenever no files are migrated in a particular migration pass.

     

    Tuesday, January 3, 2012 11:22 PM
    Moderator
  • Hi Bill,  thanks for the quick response! Much appreciated :)

    I am creating a new session (i.e. "Create New") for each migration.

    I created a new configuration this morning and exported it. The SessionGroupGUID looked fine.  I have been assuming that when I create a new session, the tool creates all new GUIDs for that session configuration. 

    However, this morning:

    1. I exported the session configuration I created
    2. Then generated new GUIDs for the  SessionGroupGUID and the Configuration UniqueId
    3. Imported the revised configuration, which created a new, unique session
    4. Ran the session and got the same result (no code migrated)

    Should I open a support ticket?

    The log and the configuration are as follows:

    Configuration File - (note: the all cap GUIDs are the ones I generated - in bold)

    <?xml version="1.0"?>
    <Configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" UniqueId="A3975B7B-7230-4930-A159-7A19E7A5B816" FriendlyName="TFS to TFS Version Control">
      <Providers>
        <Provider ReferenceName="febc091f-82a2-449e-aed8-133e5896c47a" FriendlyName="TFS 2010 Migration VC Provider" />
      </Providers>
      <Addins />
      <SessionGroup CreationTime="2012-01-04T07:43:36.477-06:00" FriendlyName="TFS to TFS Version Control" SessionGroupGUID="79A36E88-FAF2-4608-B05D-9C7AB05B58C7" Creator="xxxx\TfsService" SyncIntervalInSeconds="0" SyncDurationInMinutes="0">
        <MigrationSources>
          <MigrationSource InternalUniqueId="0a2d58b2-b3cd-4221-9601-f61f964f248d" FriendlyName="xxsource (VC)" ServerIdentifier="576103ac-7641-4214-b092-f6e3f00577bf" ServerUrl="http://xxxx:8080/tfs/ows" SourceIdentifier="SourceTP" ProviderReferenceName="febc091f-82a2-449e-aed8-133e5896c47a">
            <Settings>
              <Addins />
              <UserIdentityLookup />
              <DefaultUserIdProperty UserIdPropertyName="DisplayName" />
            </Settings>
            <CustomSettings />
            <StoredCredential />
          </MigrationSource>
          <MigrationSource InternalUniqueId="c66ee3a2-fc45-4ba4-af81-268f24eb199c" FriendlyName="xxtarget (VC)" ServerIdentifier="a73263e7-3272-4665-b8db-993f9b4e40d4" ServerUrl="http://xxxxxxx:8080/tfs/defaultcollection" SourceIdentifier="Target-TP" ProviderReferenceName="febc091f-82a2-449e-aed8-133e5896c47a">
            <Settings>
              <Addins />
              <UserIdentityLookup />
              <DefaultUserIdProperty UserIdPropertyName="DisplayName" />
            </Settings>
            <CustomSettings />
            <StoredCredential />
          </MigrationSource>
        </MigrationSources>
        <Sessions>
          <Session CreationTime="2012-01-04T07:43:36.46-06:00" SessionUniqueId="981c5e71-baac-4668-ada2-46d29a8c13ef" FriendlyName="Version Control Session" LeftMigrationSourceUniqueId="0a2d58b2-b3cd-4221-9601-f61f964f248d" RightMigrationSourceUniqueId="c66ee3a2-fc45-4ba4-af81-268f24eb199c" SessionType="VersionControl">
            <EventSinks />
            <CustomSettings>
              <SettingXml />
              <SettingXmlSchema />
            </CustomSettings>
            <Filters>
              <FilterPair Neglect="false">
                <FilterItem MigrationSourceUniqueId="0a2d58b2-b3cd-4221-9601-f61f964f248d" FilterString="$/SourceTP/CwDs-v1-2011Q3/core/src/main" />
                <FilterItem MigrationSourceUniqueId="c66ee3a2-fc45-4ba4-af81-268f24eb199c" FilterString="$/Target-TP/Test1" />
              </FilterPair>
            </Filters>
          </Session>
        </Sessions>
        <Linking>
          <CustomSettings />
          <LinkTypeMappings />
        </Linking>
        <WorkFlowType Frequency="ContinuousManual" DirectionOfFlow="Unidirectional" SyncContext="Disabled" />
        <CustomSettings />
        <UserIdentityMappings EnableValidation="false">
          <UserIdentityLookupAddins />
        </UserIdentityMappings>
        <ErrorManagement>
          <ErrorRouters />
          <ReportingSettings />
        </ErrorManagement>
      </SessionGroup>
    </Configuration>

     

    Log


    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider ChangeGroup Label AnalysisAddin Provider a4f53905-25b6-4311-ac0c-637da6688f2b is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2008 User Identity Lookup Add-In Provider eecc0227-8006-45f0-888d-10ab03019ad5 is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider File System Provider for TFS 2008 3a27f4de-8637-483c-945d-d2b20541df7c is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider File System Provider for TFS 2010 43b0d301-9b38-4caa-a754-61e854a71c78 is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider Semaphore File Analysis Addin Provider e8cec3c5-5848-4b83-904f-4324094c3f78 is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider Sync Monitor Job 1df002b3-0669-4811-8734-25d90010ea3c is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider C:\Program Files (x86)\Microsoft Team Foundation Server Integration Tools\Plugins\Tfs2008VCAdapter.dll is unavailable.  One or more of the requested types cannot be loaded.
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider C:\Program Files (x86)\Microsoft Team Foundation Server Integration Tools\Plugins\Tfs2008WITAdapter.dll is unavailable.  One or more of the requested types cannot be loaded.
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration WIT Provider 04201d39-6e47-416f-98b2-07f0013f8455 is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider VC Server Diff Job 60087491-ff28-4544-88db-be25f22b8fe8 is available
    [1/4/2012 7:40:29 AM] TfsMigrationShell.exe Information: 0 : : Provider WIT Server Diff Job f2d74bb3-9b1e-45bb-9f16-e665c8bc1ac4 is available
    [1/4/2012 7:43:38 AM] TfsMigrationShell.exe Information: 0 : ConfigurationChangeTracker did not detect any non-transient changes. No cached data will be deleted for session group '00000000-0000-0000-0000-000000000000'
    [1/4/2012 7:43:38 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/4/2012 7:43:38 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/4/2012 7:43:38 AM] TfsMigrationShell.exe Information: 0 : : 2 Adapter instance(s) loaded
    [1/4/2012 7:43:38 AM] TfsMigrationShell.exe Information: 0 : : 3 Add-Ins loaded
    [1/4/2012 7:52:09 AM] TfsMigrationShell.exe Information: 0 : ConfigurationChangeTracker did not detect any non-transient changes. No cached data will be deleted for session group '00000000-0000-0000-0000-000000000000'
    [1/4/2012 7:52:09 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/4/2012 7:52:09 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/4/2012 7:52:09 AM] TfsMigrationShell.exe Information: 0 : : 2 Adapter instance(s) loaded
    [1/4/2012 7:52:09 AM] TfsMigrationShell.exe Information: 0 : : 3 Add-Ins loaded
    [1/4/2012 7:52:27 AM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Enter with sessionGroupUniqueId: 33c113f8-75b6-4106-aeda-6cf715cc1184
    [1/4/2012 7:52:27 AM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Creating new SyncOrchestrator
    [1/4/2012 7:52:27 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/4/2012 7:52:27 AM] TfsMigrationShell.exe Information: 0 : : Provider TFS 2010 Migration VC Provider febc091f-82a2-449e-aed8-133e5896c47a is loaded
    [1/4/2012 7:52:27 AM] TfsMigrationShell.exe Information: 0 : : 2 Adapter instance(s) loaded
    [1/4/2012 7:52:27 AM] TfsMigrationShell.exe Information: 0 : : 3 Add-Ins loaded
    [1/4/2012 7:52:28 AM] TfsMigrationShell.exe Information: 0 : : TFS WorkspaceRoot: C:\T\44
    [1/4/2012 7:52:28 AM] TfsMigrationShell.exe Information: 0 : : Added TFS workspace mapping from server path '$/SourceTP/CwDs-v1-2011Q3/core/src/main' to local path 'C:\T\44\TP\CwDs-v1-2011Q3\core\src\main'
    [1/4/2012 7:52:29 AM] TfsMigrationShell.exe Information: 0 : : TFS WorkspaceRoot: C:\T\43
    [1/4/2012 7:52:29 AM] TfsMigrationShell.exe Information: 0 : : Added TFS workspace mapping from server path '$/Target-TP/Test1' to local path 'C:\T\43\-TP\Test1'
    [1/4/2012 7:52:29 AM] TfsMigrationShell.exe Information: 0 : : StartSessionGroup: Starting SyncOrchestrator; now 0 running sessions
    [1/4/2012 7:52:29 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Session worker thread [VersionControl] started
    [1/4/2012 7:52:29 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Pipeline flow from 5190ce62-e9e4-448f-b1b9-c48ce1e71c71 to 784e0dde-90a9-4f6e-ae24-03bfe7817de6
    [1/4/2012 7:52:29 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating delta tables for the migration source 5190ce62-e9e4-448f-b1b9-c48ce1e71c71
    [1/4/2012 7:52:30 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating linking delta for the migration source 5190ce62-e9e4-448f-b1b9-c48ce1e71c71
    [1/4/2012 7:52:30 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating delta tables for the migration source 784e0dde-90a9-4f6e-ae24-03bfe7817de6
    [1/4/2012 7:52:30 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 774 : 1/9
    [1/4/2012 7:52:31 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 774
    [1/4/2012 7:52:31 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 1 actions for TFS change 774
    [1/4/2012 7:52:31 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 775 : 2/9
    [1/4/2012 7:52:32 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 775
    [1/4/2012 7:52:32 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 147 actions for TFS change 775
    [1/4/2012 7:52:32 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 776 : 3/9
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 776
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 111 actions for TFS change 776
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 777 : 4/9
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 777
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 2 actions for TFS change 777
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 778 : 5/9
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 778
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 1 actions for TFS change 778
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 779 : 6/9
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 779
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 1 actions for TFS change 779
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 780 : 7/9
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 780
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 2 actions for TFS change 780
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 781 : 8/9
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 781
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 2 actions for TFS change 781
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Analyzing TFS change 782 : 9/9
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting analysis of TFS change 782
    [1/4/2012 7:52:34 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Created 1 actions for TFS change 782
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Generating migration instructions for the migration source 784e0dde-90a9-4f6e-ae24-03bfe7817de6
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Starting basic conflict detection
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Finishing basic conflict detection
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Loading 50 ChangeGroup(s)
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Post-processing delta table entries from the migration source 784e0dde-90a9-4f6e-ae24-03bfe7817de6
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Marking as 'DeltaComplete' the target-side delta table for uni-directional session
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Migrating to the migration source 784e0dde-90a9-4f6e-ae24-03bfe7817de6
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Loading 50 ChangeGroup(s)
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Processing linking delta
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Migrating links to the migration source 784e0dde-90a9-4f6e-ae24-03bfe7817de6
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Warning: 0 : VersionControl: Unable to record sync point for migration source 5190ce62-e9e4-448f-b1b9-c48ce1e71c71 of session 230a831e-e427-4f3c-b222-8444a3720849 because lastMigratedTargetItem.ItemId is null or empty
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: 
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: VersionControl: Migration is done!
    [1/4/2012 7:52:35 AM] TfsMigrationShell.exe Information: 0 : VersionControl: Session worker thread [VersionControl] completed


    Bob Hardister
    Wednesday, January 4, 2012 2:09 PM
  • Hi Bill,

    I believe I solved the problem. The account I was using, TfsService, is automatically added as a user at the collection level (root) node in source control. All the permissions for this account here had been set to deny.  I removed the account from the node and TFS added it back, but with no Allow or Deny permissions specified. However it does have permissions granted at the team project level.

    I then re-tried the migration and it worked.

    The thing that still confuses me is why it ever worked at all for one of the team projects in the same collection? 

    It would have been helpful if the log provided some indication that the account was not able to read the source due to permissions.

    Cheers, Bob


    Bob Hardister
    • Marked as answer by BobHardister Wednesday, January 4, 2012 3:22 PM
    Wednesday, January 4, 2012 3:21 PM