You receive the following error while trying to debug your .Net application.
“Error while trying to run project: Unable to start debugging on the web server.”
The error appears suddenly when the debugging of application was already working as expected. Checked all possible permission related and version related issues that would cause the error.
Finally the following steps worked for me:
- Close the solution
- Perform IIS reset
- Open solution and debug
For a complete list of solutions of this problem, please check http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_vstechart/html/vsdebug.asp