Wednesday, 28 September 2016

Removing Analysis Services references when moving a TFS deployment

When you need to stand up a testing environment, a DR situation or simply a new instance from existing backups you might want to forget about SSAS altogether and go ahead with just the core Team Foundation Server’s databases – something you can’t do if you use the Application Tier Only option.

The error you will get is a TF400952:

An unexpected error occurred during Analysis Services validation, see logs for details. The component might be damaged or not installed properly. You must exit the Team Foundation Administration Console and install either SQL Server Analysis Services or the SQL Server Client Tools on the application tier to ensure that the Analysis Service object model is present for warehouse processing. Once you have installed the necessary components, open the administration console and re-run the wizard.

If you run into this, it means you did not follow the documentation about how to setup a deployment on a new hardware Smile so back to it, you will run TFSConfig RemapDBs at some point, and that is where you need to pay attention.

If you run TFSConfig RemapDBs without the /continue switch you will just get an error:

Unable to find any compatible SQL Analysis Services database within the specified instance. The host with name ‘TEAM FOUNDATION’ has been assigned a new connection string.

So you are stuck. Instead, if you run it with the /continue switch, you will see the command will be executed on the other databases as well, removing the old SSAS reference.

1 comment:

  1. Be that as it may, on the off chance that we are looking at moving everything in your old house to your new home, at that point this is a radical new issue.Moving Checklist App

    ReplyDelete