We tried moving a TFS Project Collection from one TFS 2010 server to another.
- Detached the collection in TFS Console on source server
- Backed up the collection, Tfs_DefaultCollection, in SQL Server 2008 Standard Edition
- DBA restored the Collection to a new database, Tfs_MyCollection, to the SQL Server 2008 Enterprise, R2, instance used by the target TFS Server.
- TFS Administrator attempted to attach to the target server.
TFS adminisitrator received the following error message.
TF254078: No attachable databases were found on the following instance
of SQL Server: MyServerName. Verify that both the name of the server
and the name of the instance are correct and that the database was
properly detached using the detach command in the Team Foundation
Administration Console.
I assmumed we did not need to prepare the database instance in the target server since it already contained a TFS Project Collection.
I assumed that going up in a SQL Server edition was acceptable.
Are my assumptions valid?
What could be the cause of not being able to attach to the new TFS Server?
btw, I created this post on ServerFault originally Mirror in Serverfault, but it generated very little interest there.
Make sure both the TFS service level and SQL server versions match the previous server.
You can verify this information using SQL Management Studio >
Databases>Tfs_ConfigurationorTfs_DefaultCollection>Properties>Extended PropertiesNote these properties:
Also note the SQL version under
<database instance name>>Properties>General