TFS 2010 Beta1 - Upgrade may fail with TF50363: The following display name is not valid.
If you are testing TFS 2010 Beta1 you may hit the following error during upgrade:
TF50363: The following display name is not valid.
This is due to a known bug in our upgrade scripts where in the Version Control db (TfsVersionControl) tbl_Identity table there exists one or more rows where the DisplayName field contains data that is not in the expected format of domain\username.
If you hit this error, the workaround is to update the row and prefix the existing value with a dummy domain name like 'domain\'.
You can query the tbl_Identity table to see if you have any rows where this is the case by running:
use TfsVersionControl
go
SELECT * FROM tbl_Identity WHERE DisplayName NOT LIKE ('%\%')
If the query returns rows, then you can run the following to prefix ‘domain\’ to the field and re-run the upgrade. Note you’ll have to do after restoring the TFS 2008 dbs and before re-running the upgrade (see below)
UPDATE tbl_Identity
SET DisplayName = 'domain\' + DisplayName
WHERE DisplayName NOT LIKE ('%\%')
To restart upgrade you will need “start over” by following these high level steps:
1. Uninstall TFS 2010 (removing the configured Application Server that is created during install/upgrade)
2. Drop the SQL databases
3. Restore the TFS 2008 databases
4. Update the row in tbl_Identity with the dummy domain name from above
5. Retry the TFS 2010 upgrade
We have identified where this is a bug in our code and will resolve this in Beta2.