Udostępnij za pośrednictwem


.NET Framework or Internet Information Services (IIS) is not installed or not running

The information in this article applies to:

  • Visual Studio 2005 Team Foundation Server

  • Visual Studio Team System 2008 Team Foundation Server

  • Windows Server 2003

  • Windows Server 2008

  • Application-tier server

  • Health check

  • Preinstall check

The Best Practices Analyzer tool for Team Foundation Server verifies the installation of .NET Framework and Internet Information Services (IIS).

The tool checks the following rules:

  • Is .NET Framework 2.0 installed?

    Note

    This rule is checked only if Visual Studio 2005 Team Foundation Server is installed on the target computer.

  • Is IIS installed and running?

  • Are FrontPage Server Extensions installed?

  • Does the default Web site exist, and is it configured correctly?

    Note

    This rule is checked only if Visual Studio 2005 Team Foundation Server is installed on the target computer.

Also, the tool checks additional rules for servers on which the following components are running or will run:

  • Team Foundation Server 

  • Team Foundation Server Proxy

  • Default Web site for SharePoint Products and Technologies

  • SharePoint Central Administration site

An error appears if one of the following conditions is true:

  • .NET Framework 2.0 is not installed.

  • .NET Framework 2.0 (IA64) is not installed.

  • .NET Framework 2.0 (AMD64) is not installed.

  • Internet Information Services (IIS) is not installed.

  • Internet Information Services (IIS) is not running.

  • Internet Information Services (IIS) FrontPage Server Extensions are installed.

  • The original Internet Information Services (IIS) Default Web Site does not exist or is not configured correctly.

Before you install Team Foundation Server, you must install .NET Framework 2.0 and IIS, and IIS must be running. To resolve these issues, perform the appropriate steps according to the error that appeared:

  • Install .NET Framework 2.0

  • Install IIS

  • Start IIS Running

  • Disable FrontPage Server Extensions

  • Re-create or Reconfigure the Default Web Site

Required Permissions

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

Install .NET Framework 2.0

You must install the version of .NET Framework 2.0 that supports your platform.

To install .NET Framework 2.0 on Windows Server 2003

  • For an x86-based system, download and install Microsoft .NET Framework Version 2.0 Redistributable Package (x86) from the Microsoft Download Center.

  • For an x64-based or Itanium-based system, download and install Microsoft .NET Framework Version 2.0 Redistributable Package (IA64) from the Microsoft Download Center.

To install .NET Framework 2.0 on Windows Server 2008

  • The .NET Framework is installed when you install IIS 7.0. For information about how to install IIS 7.0, see "How to: Install Internet Information Services 7.0 on Windows Server 2008" in the installation guide for Team Foundation. To obtain the guide, see Accessing the Team Foundation Installation Guide

Install IIS

IIS must be installed and running on the servers that host the following components:

  • Team Foundation Server 

  • Team Foundation Server Proxy

  • Default Web site for SharePoint Products and Technologies

  • SharePoint Central Administration site

You must install IIS in the following configuration:

  • ASP.NET must be enabled.

  • FrontPage 2002 Server Extensions must not be installed.

  • The IIS 5.0 isolation option must not be enabled.

To install IIS 6.0 on Windows Server 2003

  1. Log on to the application-tier server for Team Foundation.

  2. Open the Start menu, click Control Panel, and then click Add or Remove Programs.

  3. Click Add/Remove Windows Components.

    The Windows Components Wizard starts.

  4. On the Windows Components page, click Application Server, and then click Details.

  5. Select the ASP.NET check box, and then click OK.

    Do not select or clear any other check boxes.

    Important noteImportant Note:

    If you click Internet Information Services (IIS) and then click Details, do not select the FrontPage 2002 Server Extensions check box. This server will host SharePoint Products and Technologies, which is incompatible with FrontPage Server Extensions.

  6. On the Windows Components page, click Next.

    Note

    You might be prompted for the installation media for Windows Server 2003.

  7. Click Finish to close the wizard.

  8. Visit Windows Update, and install all high-priority updates.

To install IIS 7.0 on Windows Server 2008

  • For information about how to install IIS 7.0, see "How to: Install Internet Information Services 7.0 on Windows Server 2008" in the installation guide for Team Foundation. To obtain the guide, see Accessing the Team Foundation Installation Guide.

Start IIS Running

The World Wide Web Publishing Service must be running before you install Team Foundation Server.

To start IIS running

  1. Log on to the application-tier server for Team Foundation.

  2. Open the Start menu, click Administrative Tools, and click Services.

    Services opens.

  3. Right-click World Wide Web Publishing Service, and then click Start.

  4. Close the Services snap-in.

Disable FrontPage Server Extensions

IIS must not be configured to support FrontPage Server Extensions.

To disable FrontPage Server Extensions in IIS 6.0

  1. Log on to the application-tier server for Team Foundation.

  2. Open the Start menu, click Control Panel, and then click Add or Remove Programs

  3. Click Add/Remove Windows Components.

    The Windows Components Wizard starts.

  4. On the Windows Components page, click Application Server, and then click Details.

  5. Click Internet Information Services (IIS), and then click Details.

  6. Clear the FrontPage 2002 Server Extensions check box, and click OK.

    Do not select or clear any other check boxes.

  7. On the Windows Components page, click Next.

  8. On the Application Server page, click OK.

    Note

    You might be prompted for the installation media for Windows Server 2003.

  9. Click Finish to close the wizard.

Re-create or Reconfigure the Default Web Site

You create the default Web site when you install IIS. If this site is removed, you can re-create it by uninstalling and reinstalling IIS.

To re-create the default Web site in IIS 6.0

  1. Log on to the application-tier server for Team Foundation.

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

    Internet Information Services (IIS) Manager opens.

  3. Expand ComputerName (Local Computer), and then expand Web sites.

  4. Verify that Default Web Site is not in the list.

  5. Close Internet Information Services (IIS) Manager.

  6. Uninstall IIS.

    1. Open the Start menu, point to Control Panel, and then click Add or Remove Programs.

    2. Click Add/Remove Windows Components.

      The Windows Components Wizard starts.

    3. On the Windows Components page, click Application Server, and then click Details.

    4. Clear the ASP.NET check box, and click OK.

    5. On the Windows Components page, click Next.

    6. Click Finish to close the wizard.

  7. Reinstall IIS. See Install IIS.

You can verify that the default Web site conforms to the required configuration with the following steps.

To verify or change the configuration of the default Web site in IIS 6.0

  1. Log on to the application-tier server for Team Foundation.

  2. Click Start, click Administrative Tools, and then click Internet Information Services (IIS) Manager.

    Internet Information Services (IIS) Manager opens.

  3. Expand ComputerName (Local Computer), and then expand Web sites.

  4. Right-click Default Web Site, and click Properties.

  5. Click the Home Directory tab.

  6. In Local directory path, make sure that Drive:\inetpub\wwwroot appears.

  7. Click the Directory Security tab.

  8. Under Anonymous Access and Authentication Control, click Edit, and verify that the Enable Anonymous Access check box is selected.

  9. Click the ASP.NET tab.

  10. In ASP.NET version, verify that 2.0 is clicked.

  11. Click OK twice.

See Also

Other Resources

Issues That Relate to .NET and Internet Information Services