Error with Veeam Enterprise Manager upgrade

With the nice christmas present from Veeam, a free 2 socket Enterprise NFR key for all VCP/vExpert (as we posted here : Merry Christmas from Veeam), we plan on updating our homelab to enjoy/test all the new features.

While we were updating our lab (a snapshot and a database backup later), we faced an error on Veeam Backup Enterprise Manager upgrade : during upgrade process, the service cannot start and installation failed.

Looking in Windows Application events, we got:

Log Name: Application
Source: Veeam Backup Enterprise Manager
Date: 12/29/2011 4:59:25 PM
Event ID: 0
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: XXX
Description:
Service cannot be started. Veeam.Backup.Common.CRegeneratedTraceException: Failed to start service —> System.Security.Cryptography.CryptographicException: Key not valid for use in specified state.

After searching on Veeam forum, we found this post dealing the same issue. This problem seems to come from credentials store for Entreprise Manager and it must be cleared in order to allow update going well.

In order to do this, you just have to execute this T-SQL query on VeeamBackupReporting database:

use VeeamBackupReporting;
delete [dbo].[Repl.Topology.BackupServerCreds];

Once the T-SQL executed, the upgrade will go smoothly :p

Veeam Backup & Recovery 6 can be found here : http://www.veeam.com/vmware-esx-backup.html