Naphtali Davies February 2016

Upgrade TFS 2010 to 2015 FOREIGN KEY constraint error

I'm trying to upgrade from TFS 2010 to TFS 2015.

Before the actual upgrade I want to do a test upgrade, meaning leave the 2010 alive.

I backed up the databases and restored them on a new sever. Then I run the TFS upgrade.

When it finishes I get the following error:

Could not drop object 'Constants' because it is referenced by a FOREIGN KEY constraint.

Answers


chief7 February 2016

You will likely need to contact Microsoft for support on this. We recently upgraded from 2010 to 2015 but didn't have this issue. I suspect someone customized your TFS instance and it is conflicting with the migration script.

If you use CodedUI tests this post may help.

Post Status

Asked in February 2016
Viewed 2,066 times
Voted 14
Answered 1 times

Search




Leave an answer