Tuesday, December 01, 2009

Installing TFS 2010 Beta2 on Win 2008 R2, a Problem, and The solution

Microsoft Has just reported a known issue of installing TFS 2010 over Windows 2008 R2. For all people who are welling to install TFS 2010 Beta 2 over This version of windows, please read the following to know how to solve the problem with a recommended workaround from the Team System Product Team.

Scenario

After installing Team Foundation Server 2010 Beta 2 on a Windows 2008 R2 server, when you navigate to Web Access site, you get the following error message:

Configuration Error

Parser Error Message: Could not load file or assembly 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.

Problem

Windows 2008 R2 includes NET Framework 3.5 as a Windows feature, which means NET Framework cannot be installed on that system using the regular installer. It needs to be enabled as a feature instead. Since TFS setup tries to install NET Framework 3.5 using the installer, it fails for this reason.

Since NET 3.5 is not available after TFS installation, Web Access is broken.

Workaround

The workaround is to enable NET Framework 3.5 feature on Windows 2008 R2 using the Role Manager.

  • Open Server Manager
  • Click the Features node
  • Click Add Features
  • Check “.NET Framework 3.5.1 Features” (including all sub nodes)
  • Click Next, and click Install to finish the installation

No comments: