Asp.net|debug| Program | error
Symptoms
When you are in debug a asp.net application in Visual Studio. NET, your may receive the following error message:
Error while trying to run project:unable to start debugging on the Web server. The project is isn't configured to be debugged
For ASP.net projects, verify so you have a valid project file called ' Web.config ' to the URL specified and ' debug ' is S ET to ' true ' in that file.
For ATL Server projects, verify the ' DEBUG ' verb be associated with your ISAPI extension.
Would To disable future attempts to debug ASP.net pages for this project?
Cause
This error can occur primarily because: the ASP.net application does not have a Web.config file.
the Execute Permissions property for the ' current ' project folder in Internet Services Manager was set to None.
Resolution
To resolve this problem, use one of the following methods, depending on your circumstances: if your project does not hav e A Web.config file, add a Web.config file to the directory that contains the ASP.net application. If you are are working in Visual Studio. NET, right-click 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 <compilation> sect Ion of the Web.config file, follow these steps to set the Execute Permissions property for the project Folder:1. Start Ternet Services Manager, and then click the project, you are trying to debug.
2. Right-click the project, and then click Properties.
3. Click the Directory tab.
4. If None is selected in the Execute Permissions list, click Scripts only, and then click Apply.