C# - Unable to start debugging
Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
When trying to run/debug my ASP.Net web app from VS.NET (2003) I get this error:
Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged.
This was caused because I had renamed the virtual dir that the project resides in - and because of this IIS had decided to revert the dir from an application to a dir.
To resolve simply make it an app again via the IIS Management tool:
1. Within the IIS management tool, select your virtual dir.
2. Right-click and select Properties
3. In the Properties dialog box, click on the Create button.
Debugging Failed Because Integrated Windows Authentication Is Not Enabled
To enable integrated Windows authentication
Log onto the Web server using an administrator account.
From the Start menu, open the Administrative Tools Control Panel.
In the Administrative Tools window, double-click Internet Information Services.
In the Internet Information Services window, use the tree control to open the node named for the Web server.
A Web Sites folder appears beneath the server name.
You can configure authentication for all Web sites or for individual Web sites. To configure authentication for all Web sites, right-click the Web Sites folder and choose Properties from the shortcut menu. To configure authentication for an individual Web site, open the Web Sites folder, right-click the individual Web site, and choose Properties from the shortcut menu
In the Properties dialog box, select the Directory Security tab.
In the Anonymous access and authentication section, click the Edit button.
In the Authentication Methods dialog box, under Authenticated access, select Integrated Windows authentication.
Click OK to close the Authentication Methods dialog box.
Click OK to close the Properties dialog box.
Close the Internet Information Services window.
Another SOLUTION may be to go to VS.NET
Go to Properties
Go to Configuration Properties
Select Debugging
Set "Enable ASP Debugging" to true