Permissions to execute scripts on a virtual directory are not set
The information in this article applies to:
Visual Studio 2005 Team Foundation Server
Visual Studio Team System 2008 Team Foundation Server
Application-tier server
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 and Technologies. 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 application-tier server for Team Foundation.
To change the script execute permissions on a virtual directory in IIS 6.0
Log on to the application-tier server.
Open the Start menu, point to Administrative Tools, and then click Internet Information Services (IIS) Manager.
Internet Information Services (IIS) Manager opens.
In the tree pane, expand ComputerName (Local Computer), and then expand Web sites.
Expand the name of the Web site that the error specifies.
Right-click the name of the virtual directory that the error specifies, and then click Properties.
On the Virtual Directory tab, select the Scripts only check box for Execute permissions, and then click Apply.
Click OK to close the dialog box.
To change the script execute permissions on a virtual directory in IIS 7.0
Log on to the application-tier server.
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.
In the Connections pane, expand ComputerName (Local Computer), and then expand Sites.
Expand the name of the Web site that the error specifies.
Click the name of the Web site or virtual directory that the error specifies.
In the Web Site or Virtual DirectoryHome area, double-click Handler Mappings.
In the Actions pane, click Edit Feature Permissions.
The Edit Feature Permissions dialog box opens.
Verify that the Read and Script check boxes are both selected.
Click OK to close the dialog box.