Professional Documents
Culture Documents
Go to Team Foundation Server Administration Console -> Application Tier -> Team Project
Collections then choose the collection you want to migrate. Once chosen choose detach then
click next on each following step to confirm.
Once finished you will see a Window similar to this, click Complete then close.
2. Detach you TFS_Configuration Database in SQL Server
3. Copy the Database Related Files
Copy all database related files (.mdf, .ldf) to the New SQL Server
4. Attach the Database in the new SQL Server
Go to Team Foundation Server Administration Console -> Application Tier -> Team Project
Collections then choose Attach Collection.
Once finished you will see a Window similar to this, click Complete then close.
At this stage try doing a check in and check out to see if everything worked, compare file
history as well to double check
Using the Admin context execute “iisreset /stop” at the command prompt.
If you can’t stop IIS there is another alternative. Just stop the TFS related sites and
application pool in the Server
Using Admin context open again Command Prompt if you had closed it then navigate to “C:\
Program Files\Microsoft Team Foundation Server 2010\Tools”
Execute “TfsConfig prepSql /sqlInstance:{your_new_server_name_here}”
Go to Team Foundation Server Administration Console -> Application Tier then click on
Reapply Account.
Select the account you use then click OK
Start the TFS Job Agent service via services.msc or execute “net start TfsJobAgent” at the
command prompt.
Using the Admin context execute “iisreset /start” at the command prompt.
If earlier you just stopped the TFS related sites and application pool just run it all back again.
http://www.codeproject.com/Articles/664027/Migrate-Team-Foundation-Server-s-SQL-Server-to-
ano
Troubleshooting: Could not load type
'System.ServiceModel.Activation.HttpModule' from assembly
'System.ServiceModel...'
cd\Windows\Microsoft.NET\Framework64\v4.0.30319
aspnet_regiis.exe -iru