Welcome to MSDN Blogs Sign in | Join | Help

Installing TFS 2010 on Windows Server 2008 R2 RC

With the impending release of TFS 2010 BETA 1, I figured I’d eat all the dog food I could and install it on Windows Server 2008 R2 RC. This is not an officially supported OS for this release of TFS 2010, as it was just too late in the BETA testing cycle to test it out fully. With a little work though, I was able to get TFS 2010 x64 to install on Windows Server 2008 R2 RC x64 STD. Here is what I ran into:

1. Any version of Windows SharePoint Services 3.0 lower than SP2 will not install on Windows Server 2008 R2. If you try you will be blocked by the Windows Program Compatibility Assistant:

image

I spoke to a WSS program manager and this is blocked for good reason. I won’t go into details, suffice to say that there are issues with WSS 3.0 pre-SP2 on this version of Windows. The fix is simple enough – use WSS 3.0 SP2.

Unfortunately, the release of WSS 3.0 *with* SP2 (single-executable) was very recent (compared to time of writing and release of TFS 2010), so it didn’t make it into the bits that TFS 2010 drops when installed. It is available now though (WSS 3.0 with SP2 x86 and x64), and since the “install” for TFS 2010 just drops bits on the machine (the true setup is done by the Team Foundation Server Configuration Wizard) you can overwrite the SharePoint.exe we included with the BETA with a WSS 3.0 SP2 version. This way the Team Foundation Server Configuration Wizard can successfully configure TFS 2010 including WSS 3.0 for you if you so choose.

 

2. STSADM commands fail with "Value does not fall within the expected range." error running on WS2K8R2.

Even after you make the proper version of WSS 3.0 available for the Team Foundation Server Configuration Wizard you will see a failure when it tries to configure WSS for you (if you do the DEFAULT install). This is caused by the fact that the “Identity” for the “DefaultAppPool” Application Pool in Windows Server 2008 R2 is set to “ApplicationPoolIdentity”. WSS / STSADM.exe don’t like this. One way to fix it is to open IIS admin, open advanced properties for the “DefaultAppPool” Application Pool and change the Identity to NetworkService.

Once I did these two things I was able to get TFS 2010 onto Windows Server 2008 R2 RC and configure it (default configuration) without error.

 

So, if you want to do a default configuration / single-server TFS 2010 setup on Windows Server 2008 R2 RC, try this:

1. Download the single-executable WSS 3.0 SP2, selecting the bitness you will need:

WSS 3.0 *with* SP2:

X86
http://www.microsoft.com/downloads/details.aspx?familyid=EF93E453-75F1-45DF-8C6F-4565E8549C2A&displaylang=en

x64
http://www.microsoft.com/downloads/details.aspx?familyid=9FB41E51-CB03-4B47-B89A-396786492CBA&displaylang=en

2. Install Windows Server 2008 R2 RC, IIS, and SQL Server 2008 as instructed in the TFS 2010 install guide.

3. Change the Identity of the “DefaultAppPool” Application Pool to ‘NetworkService’ from ‘ApplicationPoolIdentity’ (IIS admin, advanced properties for the “DefaultAppPool” Application Pool, change the Identity to ‘NetworkService’).

4. “Install” TFS 2010. The Team Foundation Server Configuration Wizard should start when it’s done. Leave it open, but don’t do anything yet.

5. Overwrite Program Files\Microsoft Team Foundation Server 10.0\Tools\SharePoint.exe with the new SharePoint.exe you downloaded in step 1.

6. Return to the Team Foundation Server Configuration Wizard and proceed with the Default configuration.

When it’s finished, you should have a working TFS 2010 install! Install Team Explorer now and try to create a Team Project now, to see just how successful you were (don’t forget to run VS elevated!). :-)


HTH
- Trev

Published Friday, May 15, 2009 1:21 PM by CSSTFSBLOG

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

Saturday, May 16, 2009 4:55 PM by Clemens

# re: Installing TFS 2010 on Windows Server 2008 R2 RC

so, you can install TFS, replace sharepoint.exe and run the configuration wizzard...

what is the location Team Foundation Server Configuration Wizard looks for sharepoint.exe?

thanks...

Saturday, May 16, 2009 4:58 PM by Clemens

# re: Installing TFS 2010 on Windows Server 2008 R2 RC

must read the whole post before asking questions...

thx... going to give it a try

Tuesday, May 19, 2009 10:50 PM by Ozzie Rules Blogging

# Visual Studio 2010 Beta1 Day One FAQ

I compiled the questions from the forums and internal discussion lists. Q: Where is the Visual Studio

Wednesday, May 20, 2009 9:28 AM by bharry's WebLog

# Issues installing 2010 Beta 1

As with every Beta release, there are a set of gotchas that you have to look out for when installing.

Wednesday, May 20, 2009 3:38 PM by granth's blog

# Visual Studio Team System 2010 Team Foundation Server Beta 1 Installation Problems

First of all, see my last post Visual Studio Team System 2010 Beta 1 Download Links for all the download

# Issues installing 2010 Beta 1

Issues installing 2010 Beta 1 When installing 2010 Beta 1 please read the readme file for the latest

Wednesday, June 17, 2009 7:22 PM by Vaccano

# re: Installing TFS 2010 on Windows Server 2008 R2 RC

SWEET POST!!!!

This was exactly what I was looking for!!!!

Thank you so much for writing this!

Friday, June 19, 2009 3:30 AM by ElBruno

# re: Installing TFS 2010 on Windows Server 2008 R2 RC

Excelent post !!! thanks .. :D

Monday, September 28, 2009 5:35 PM by Rob

# re: Installing TFS 2010 on Windows Server 2008 R2 RC

Great info! Was looking to help a computer consultant and this answered his questions perfectly.

You've saves some people some time.

Sunday, October 04, 2009 12:11 AM by Dathan

# re: Installing TFS 2010 on Windows Server 2008 R2 RC

Great post -- thanks for doing this.  Great to be able to test this on R2.

Wednesday, October 28, 2009 10:22 AM by Ryan Gandy

# re: Installing TFS 2010 on Windows Server 2008 R2 RC

At last! In a perfect world this would be a link straight off Microsofts Team System site!

Leave a Comment

(required) 
required 
(required) 

  
Enter Code Here: Required
 
Page view tracker