DCSIMG
Migrating a TFS with a partially installed SP1 - SRL Group

SRL Group

This blog is about Team System, QA and Development methodologies and more...

VSTS Resources

Team System Bloggers

Migrating a TFS with a partially installed SP1

Here's a problem i faced a few days ago,
I was migrating a TFS which was supposedly upgraded to SP1 to a new TFS server.
Since the source data tier and application tier were in the SP1 version of the TFS, I installed a new TFS server and upgraded it to SP1.
After that I went through all the normal procedure of moving the database to the new server.
After I finished that stage I checked the team explorer to see that everything is working.
When i tried to open the source control explorer I got this error-
"TF53018: The application tier [SERVER] is attempting to connect to a data tier with an incompatible version."
The first thing I did at that stage was what I always do when I run into serious problems- I went for coffee.
The second was looking for answers in Google.
What I found was this post which mostly talked about the beta version of the SP1, but it gave me some pointers. Checking the database tables I found this value:
TfsVersionControl database -> tbl_Repository table -> Row 1 -> SchemaVersion: 8.50727.138.
I checked out the server assemblies. Looking at- Microsoft.TeamFoundation.VersionControl.Server.dll, I saw that the version number was 8.50727.762.
I found out that the inconsistency here was the result of a bad update to SP1 in the original TFS. The database where I took the data from was not updated entirely to the SP1 version and that's why I ran into this issue.
What solved the problem was updating the target TFS server again, after the migration, to the SP1. See this post about SP1 setup.

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: