Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

An incorrect version of the .NET Framework is detected

The information in this article applies to:

  • Visual Studio Team Foundation Server 2010

  • Windows Server 2003 and Windows Server 2008 

  • SQL Server 2008

  • Team Foundation Server Complete Health Check

  • Team Foundation Server Framework Health Check

The Best Practices Analyzer tool for Team Foundation Server checks that all Web sites and virtual directories on the application-tier server are running under either .NET Framework 2.0 or .NET Framework version 4. An error appears if a different version of .NET Framework is running than what the Web site or virtual directory requires. The error contains the name of the Web site and the path of the virtual directory.

NoteNote

Team Web Access uses .NET Framework version 2.0.

To resolve this issue, open Internet Information Services (IIS) Manager on the application-tier server, and change the ASP.NET version for the reported Web site and virtual directory.

NoteNote

On computers that are running Windows Server 2008, the .NET Framework 4 version is assigned to the application pool under which the application runs.

Required Permissions

To perform these procedures, you must be a member of the Administrators security group on the application-tier server for Team Foundation.

To change the ASP.NET version for a Web site or virtual directory in IIS 6.0

  1. Log on to the application-tier server.

  2. Open the Start menu, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.

    Internet Information Services (IIS) Manager opens.

  3. To verify or change the ASP.NET version for a Web site:

    1. In the tree pane, expand the local computer, and expand Web Sites.

    2. Right-click the Web site (for example, Default Web Site), and click Properties.

    3. On the ASP.NET tab, click v4.0.21006 for the ASP.NET version.

    4. Click Apply, and then click OK.

  4. To verify or change the ASP.NET version for a virtual directory:

    1. In the tree pane, expand the Web site that contains the virtual directory.

    2. Right-click the virtual directory (for example, Build under Team Foundation Server), and click Properties.

    3. On the ASP.NET tab, click v4.0.30319for the ASP.NET version.

    4. Click Apply, and then click OK.

To change the ASP.NET version for an application pool in IIS 7.0

  1. Log on to the application-tier server.

  2. Open the Start menu, point to Administrative Tools, right-click Internet Information Services (IIS) Manager, and then click Run as administrator.

    Internet Information Services (IIS) Manager opens.

  3. In the Connections pane, expand the local computer, and click Application Pools.

  4. On the Application Pools page, verify that v4.0 appears under .NET Framework Version for all Team Foundation application pools. Also, verify that Classic appears under Managed Pipeline Mode.

  5. If the assignments are different from those indicated in step 4, perform the following steps:

    1. Click the application pool.

    2. In the Actions pane, click Basic Settings.

      The Edit Application dialog box opens.

    3. Under .NET Framework Version, click .NET Framework v4.0.21006.

    4. Under Managed pipeline mode, Click Classic, and then click OK.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.