If your project does not have a Web.config file, add a Web.config file to the directory that contains the ASP.NET application. If you are working in Visual Studio .NET, right-click the project in Project Explorer, click Add New Item, and then click Web Configuration File.
If your project already has a Web.config file, and if the debug attribute is set to true in the
section of the Web.config file, follow these steps to set the Execute Permissions property for the project folder:
- Start Internet Services Manager, and then click the project that you are trying to debug.
- Right-click the project, and then click Properties.
- Click the Directory tab.
- If None is selected in the Execute Permissions list, click Scripts only, and then click Apply.