Export (0) Print
Expand All

Permissions to execute scripts on a virtual directory are not set

The information in this article applies to:

  • Visual Studio Team Foundation Server 2010

  • Windows Server 2003 and Windows Server 2008 

  • Windows SharePoint Services 3.0 and Microsoft Office SharePoint Server 2007

  • Servers that host the application tier and SharePoint Products

  • Team Foundation Server Complete Health Check

  • Team Foundation Server Framework Health Check

  • SharePoint Products Health Check

The Best Practices Analyzer tool for Team Foundation Server queries the metabase for Internet Information Services (IIS). This query determines the script execute permissions that are set for the virtual directories of the Web sites for Team Foundation.

An error appears if script execute permissions are not allowed for a virtual directory that requires these permissions. The error contains the name of the Web site and the virtual directory where the script execute permissions are not allowed.

To resolve this issue, set the execute permissions to allow script execution for all virtual directories for Team Foundation, including those that are associated with SharePoint Products. You can ignore the execute permissions for SQL Server Reporting Services and all other permissions.

Required Permissions

To perform these procedures, you must be a member of the Administrators security group on the server to which the error message refers.

To change the script execute permissions on a virtual directory in IIS 6.0

  1. Log on to the server to which the error message refers.

  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 ComputerName (Local Computer), and then expand Web sites.

  4. Expand the name of the Web site that the error specifies.

  5. Right-click the name of the virtual directory that the error specifies, and then click Properties.

  6. On the Virtual Directory tab, select the Scripts only check box for Execute permissions, and then click Apply.

  7. Click OK to close the dialog box.

To change the script execute permissions on a virtual directory in IIS 7.0

  1. Log on to the server to which the error message refers.

  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 ComputerName (Local Computer), and then expand Sites.

  4. Expand the name of the Web site that the error specifies.

  5. Click the name of the Web site or virtual directory that the error specifies.

  6. In the Web Site or Virtual Directory Home area, double-click Handler Mappings.

  7. In the Actions pane, click Edit Feature Permissions.

    The Edit Feature Permissions dialog box opens.

  8. Verify that the Read and Script check boxes are both selected.

  9. Click OK to close the dialog box.

Community Additions

ADD
Show:
© 2014 Microsoft