Share via


An incorrect default document is detected

The information in this article applies to:

  • Visual Studio 2005 Team Foundation Server

  • Visual Studio Team System 2008 Team Foundation Server

  • SQL Server

  • Application-tier server

  • Health check

The Best Practices Analyzer tool for Team Foundation Server queries the metabase for Internet Information Services (IIS) to determine default document assignments. Specifically, the tool checks whether the default document assignment is correct for the Reports virtual directory.

Note

This rule is checked and only applies when SQL Server 2005 is deployed. You manage ReportServer in Internet Information Services (IIS) for SQL Server 2005 but not for SQL Server 2008.

An error appears if the default content page does not match home.aspx for the Reports virtual directory. To resolve this issue, open Internet Information Services (IIS) Manager, and change the default content page to home.aspx.

Required Permissions

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

To change the default content page 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. In the tree pane, expand the local computer, expand Web Sites, and expand Default Web Site.

  4. Right-click the Reports virtual directory, and click Properties.

  5. On the Documents tab, select the Enable default content page check box.

  6. If home.aspx is not listed, click Add to open the Add Content Page dialog box. Type home.aspx into the Default content page text box. Click OK.

  7. Click Apply to confirm the change, and then click OK.

To change the default content page 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, expand Sites, expand Default Web Site, and click Reports.

  4. In the /Reports Home pane, double-click Default Document.

  5. Verify that home.aspx is listed. If home.aspx does not appear in the list of files, click Add, type home.aspx in the Add Default Document dialog box, and then click OK.

  6. Click Apply to confirm the change, and then click OK.

See Also

Other Resources

Web Service Configuration Issues