IMHO When moving TFS deployments between two differently named SQL servers, this whole article misses some critical details:
1. The TFS service pack levels must be identical between the TFS Aplication Tiers, in addition to the SQL Server service pack and collation settings. The TFS version is recorded in the TfsIntegration database Properties under Extended Properties under the TFS_PRODUCT_VERSION field. TFS2008 SP1 should be 9.0.30729.1. You can also find out the SQL Server collation settings here as well.
2. Simply restoring the TFS Data Tier databases to a differently named servers creates Error TF53007 when one tries to connect with Team Explorer or TSWA: "The application tier name <SERVER1> recorded in the database does not match the local machine name <SERVER2>".
The tfsadminutil renamedt and activateat commands do not apply here to resolve this issue as others bloggers have speculated.
I found that it is necessary to open the TfsIntegration database in SQL Management Studio, drill down to the following tables:
tbl_database
tbl_registration_extended_attributes
tbl_service_interface
tbl_subscription
tbl_tmp_security_acls tables
and **manually update** all references to the old server name with the new server name (right-click on the table and select "Open Table")
> If just one entry is not updated the TF53007 error occurs and also make sure there are no stray spaces, especially padding the end of the field, which is impossible to see but can send you to the insane asylum to troubleshoot. Same goes for editing the Registry! <
(The TfsIntegration database contains other TFS AT configuration settings like service account names so it is helpful to note to the contents of the other tables and entries as an aid to troubleshooting.)
Once all old server name references are updated, the TFS AT connects to the new DT correctly.
AFAIK there is no automated utility to update the TfsIntegration tables following a restoration based server move - somebody let me know if there is!
When moving Windows Share Point Services 3.0 databases it is only necessary to restore the WSS_Content database when doing a restoration based server move and not the others.
It may also not necessary to backup and restore the Reporting Services databases as then you get the headache of migrating GUIDs and the symmetric encryption key.
Just re-create the Reporting Services Project folder and import the Analysis functions corresponding to the Development model using the Process Template Manager in Team Explorer.
Anthony Maw, B.Sc., MCSE
Vancouver, Canada
tel/sms +1 604 318 9994
anthony@maw.bc.ca [ mailto://maw.bc.ca:25/default.aspx ]
www.anthonymaw.com