When you debug an ASP.NET application in Visual Studio .NET, you may receive the following error message: Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged
For ASP.NET projects, verify that you have a valid project file called 'Web.config' for the URL specified and 'debug' is set to 'true' in that file. For ATL Server projects, verify that the 'DEBUG' verb is associated with your ISAPI extension. Would you like to disable future attempts to debug ASP.NET pages for this project?
To resolve this problem, use one of the following methods, depending on your circumstances: • 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: 1. Start Internet Services Manager, and then click the project that 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.
|
| Author: Kumar Velu 30 May 2008 | Member Level: Diamond Points : 2 |
useful for beginners..
|
| Author: R O B I N 02 Jun 2008 | Member Level: Gold Points : 1 |
yup good for beginners as well as for intermidiator sometime
|
| Author: Deepak S 14 Aug 2008 | Member Level: Gold Points : 1 |
Hai, Very useful for beginners. Expecting more from u.
Thanks & Regards,
Deepak S
|
| Author: Peter Dexter 01 Jan 2009 | Member Level: Bronze Points : 1 |
Just a further note that might prove useful to another seeker.
I found I was getting this error because I'd named a parent webfolder with a dot in it, eg "Furphy.Net" ... once I rebuilt that parent webfolder without a dot and recreated the folder, the problem went away.
cheers pd
|