Johan's Blog

This and that in a developer's life in general
Welcome to Blogs @ IRM Sign in | Join | Help
 Search

Disclaimer

The content of this site is my own personal opinion and does not in any way represent my employer, it's subsideries or affiliates. These postings are provided "AS IS" with no warranties, and confer no rights.

This Blog

Upgrading TFS 2010 from RC to RTM

Just did a test upgrade on my virtual 2008 server from the RC version of TFS 2010 to RTM. I’ve a single-server installation and the instructions for upgrade is to first backup the server and the database, uninstall the RC version, make sure you really did a backup then install TFS 2010 RTM. There’s an upgrade option, make sure to select it! The upgrade will find (sometimes with a little help from the user) the old TFS databases and such and migrate/upgrade them.

I stomped on a couple of things, first I got a couple of warnings related to Sharepoint during the final parts of the install/upgrade. For example:

TF205016: Required permissions could not be granted to the service account for the SharePoint Web application in Team Foundation Server. The following error occurred: TF249063: The following Web service is not available: http://win2k8:17012/_vti_bin/TeamFoundationIntegrationService.asmx. This Web service is used for the Team Foundation Server Extensions for SharePoint Products. The underlying error is: The remote server returned an error: (503) Server Unavailable..

The reason in this case was that the service-account use for the Sharepoint Central Administration v3 application pool was somehow out of sync and the application pool was stopped. I fix this I made sure the account was correct and had correct password, made sure the app pool was started and that I could access the Sharepoint admin web app.

The other thing that went kind of wrong was a build configuration I had. It failed with error:

   The working folder C:\Builds\xxxxx is already in use by the workspace 1_1_WIN2K8;NT AUTHORITY\NETWORK SERVICE on computer WIN2K8.

The name of my virtual server is of course WIN2K8 (I know, really creative but I was tired).

So, this may have to do with me using a virtual server and such, but I just removed the workspace with the tf-command:

   tf workspace /delete /server:http://WIN2K8:8080 “1_1_WIN2K8;NT AUTHORITY\NETWORK SERVICE“

After that the build runs just fine.


Cross-posted from my blog at http://weblogs.asp.net/jdanforth
Published den 16 april 2010 14:53 by johan
Filed under: ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

 

Tim C said:

I am trying to find this tf command. I can't find anything named just "tf" on my 2010 TFS server. Could you explain where to find it please?

maj 11, 2010 00:27
 

Tim C said:

or tf.exe or tf.*

maj 11, 2010 00:27
 

Johan said:

Open up a VS 2010 command prompt and type tf.exe. It's part of visual studio or the team explorer kit I believe. On my box it's in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE

maj 11, 2010 10:45
 

Tim C said:

TY, found it. I was looking on the server.

Now I am getting:

C:\Windows\system32>tf workspace /delete /server:http://server/tfs:8080 "1_1_server;NT AUTHORITY\NETWORK SERVICE"

Specify one workspace.

This was my build error:

The working folder C:\*******\Nightly\Sources\WebControls is already in use by the workspace 1_1_server;NT AUTHORITY\NETWORK SERVICE on computer HOUSERVICES01.

Any ideas? Server name and path have have been changed.

maj 11, 2010 17:00
 

Tim C said:

maj 11, 2010 17:39

Leave a Comment

(required) 
(optional)
(required) 
Submit
Powered by Community Server, by Telligent Systems