I believe in Hyper-V!

Upgrade TFS 2013 to TFS 2015 RC [New hardware upgrade procedure]

This days I had honor to upgrade TFS 2013 to TFS 2015 RC. RC is release candidate and it’s not officially supported, but if you have “support” from your MVP fellows and experts it’s not that hard to do something like this Smile.

Of course, at the beginning I had a couple of issues with upgrade, but at the end everything went perfectly thanks to the Microsoft and MVPs experts and now I want to share this experience with you.

The TFS infrastructure is as follows:

TFS 2013
1. Windows Server 2012
2. TFS Version: 12.0.21005 (Tfs2013.RTM)
3. SQL Server 2012 with SP2 Enterprise Edition

TFS 2015 RC
1. Windows Server 2012 R2
2. TFS 2015 RC
3. SQL Server 2012 with SP2 Enterprise Edition

Both servers are in the same domain and they have been using the same service accounts.

We did following (this is classic/usual upgrade procedure):
1. TFS Backup procedure through TFS Administration Console –> Scheduled Backups –> Manual backup (on the TFS 2013 side)
2. Databases have been restored through TFS Administration Console –> Restore Databases (on the TFS 2015 RC side)
3. During the Upgrade process on the last wizard tab we’ve got the error visible in the picture below.

1

And what to do now? Sad smile

1. Restore TFS databases again
2. Open SQL Server Management Studio on the TFS 2015 RC
3. Execute the following script in the Tfs_Configuration database:

[sourcecode language='sql'  padlinenumbers='true' collapse='false' wraplines='false']
UPDATE  tbl_RegistryItems
SET     RegValue = SUBSTRING(RegValue, 1, CHARINDEX(', Version=', RegValue) - 1)
WHERE   PartitionId = 1
        AND ParentPath = '#\Configuration\ServiceProvider\ExtensibleTypes\'
        AND CHARINDEX(', Version=', RegValue) > 0
[/sourcecode]

 

SQLquery1

4. Run Upgrade procedure again and voila Winking smile

Complete
Complete2
Complete3

Microsoft will fix this issue in Team Foundation Server 2015 RTM!

Enjoy in upgrade Hot smile

Cheers,

Romeo

Leave a Reply

Your email address will not be published. Required fields are marked *