Search code examples
tfstfs-2015

TFS 2010 SP1 to 2015 U1 upgrade issue


I work in a company where TFS 2010 SP1 is used and we are going to upgrade it to some of later versions. I've upgraded SQL Server from 2008 R2 to 2012 and tried to upgrade to 2012, 2013 and 2015 version of TFS. And all the times I get the same error while upgrading our project collection. This issue is fatal and upgrade cannot proceed to the end. It doesn't matter if I install new version of TFS on the same or on the new hardware. This sample is from upgrade to TFS2015 U1 log.

[12:15:36.780] Executing step: Grant WorkItemTracking Project Provision Permissions
[12:15:36.780]   Executing step: 'Grant WorkItemTracking Project Provision Permissions' WorkItemTracking.GrantProvisionPermissions (1413 of 1808)
[12:15:36.823]   [Error] Object reference not set to an instance of an object.
[12:15:36.857]   System.NullReferenceException: Object reference not set to an instance of an object.
[12:15:36.857]      at Microsoft.TeamFoundation.Server.Servicing.TFCollection.WorkItemStepPerformer.GrantProvisionPermissions(IVssRequestContext targetRequestContext, ServicingContext servicingContext)
[12:15:36.857]      at Microsoft.TeamFoundation.Framework.Server.ServicingStepDriver.PerformServicingStep(ServicingStep step, ServicingContext servicingContext, ServicingStepGroup group, ServicingOperation servicingOperation, Int32 stepNumber, Int32 totalSteps)
[12:15:36.857] Step failed: Grant WorkItemTracking Project Provision Permissions. Execution time: 77 milliseconds.

I've serched for solution in internet and it seems like all conditions are met. TFS 2010 SP1 is installed, I have admin permissions on machine and so on. Please help with this issue if you can. Thank you!


Solution

  • We had a project that has been deleted from TFS without deletion of source control folder. I deleted this project by TFSDeleteProject.exe and after that migration goes right way.