I believe in Hyper-V!

Windows Server 2012 R2Category Archives

TFS 2015.1 upgrade/migration error [End of Central Directory record could not be found]

Hi there,

Few days ago I had a opportunity to upgrade/migrate production TFS 2013 Update 3 to TFS 2015 Update 1. The migration process is “straightforward” but as usual every time something goes wrong. Unfortunately, this time I didn’t have exception Smile.
As I mentioned above, we had TFS 2013.3 but it wasn’t a clean installation, that was an in-place upgrade from TFS 2008 –-> 2010 –> 2013 in the last couple of years. This time I decided to do upgrade to the new hardware.

Here I’ll not explain how to migrate, I want to explain what type of error I had and how solve problem.

During the upgrade process I got error and warning…
[2016-02-15 20:13:22Z][Error] End of Central Directory record could not be found.
[2016-02-15 20:13:19Z][Warning] Invalid zip file in process template MSF Agile For Project Server 2007, End of Central Directory record could not be found.
[2016-02-15 20:13:20Z][Warning] Invalid zip file in process template MSF CMMI For Project Server 2007, End of Central Directory record could not be found.

image

When you try to find resolution on the Internet you will find NOTHING! But luckily error is obvious. We need to delete problematic Process Templates. Open Process Template Manager from the Visual Studio, find the problematic templates and delete them.

image
image

When you are done, have to repeat whole procedure. Backup databases, restore, upgrade… and at the end you will have successful TFS upgrade Winking smile

Thank you Ognjen for your precious help Smile

Cheers

Romeo

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

New free eBook: "Microsoft Licensing for Virtual Environments"

Hi to everyone,

IMHO, Microsoft licensing model is the hardest thing for me ;). So, with this free eBook and webinar you can learn how to license Microsoft virtual environment.

Capture

Are you looking to get to grips with Microsoft licensing for virtual environments? Altaro got something special for you!

Altaro asked our very own Hyper-V guru Eric Siron, and Hyper-V MVP Thomas Maurer to take you through the theory and a dozen or so example scenarios to help you gain a solid understanding of Microsoft licensing. We’re offering you two formats:

  • An Altaro webinar, hosted by Hyper-V MVPs Thomas Maurer and Andrew Syrewicze on Thursday, 4th December 2014 at 10am EST / 4pm CET (30-45 mins + live Q&A!)
  • A brand new eBook by Eric, which is available right now!

    Sign up for the webinar here:

    Webinar

    Download your copy of the eBook “Licensing Microsoft Server in a Virtual Environment” here:

    download

    Cheers,

    Romeo