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

 

Web Access will start to work when the NET Framework 3.5 is enabled.