Tuesday, January 09, 2007

.net - Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged

Running or debugging a ASP.net web application from visual studio.net throws following error.

"Error while trying to run project: Unable to start debugging on the web server. The project is not configured to be debugged."

Reason: .net web application is converted in to a directory by IIS when its renamed or copied from other location
Resolution : Change the directory back to application with these steps

1. Go to IIS management tool Choose select your virtual dir.
2. Go to Properties of the virtual directory by choosing Properties from right click menu.
3. In the Properties dialog box, click on the Create button.


Thanks Tim for that tip.

No comments: