Article ID: 306165 - View products that this article applies to.
This article was previously published under Q306165
When you debug an ASP.NET application in Visual Studio .NET, you may receive the following error message:
In Visual Studio 2005 .NET, you receive the following error message:
Error while trying to run project : Unable to start debugging on the web server. Would you like to disable future attempts to debug ASP.NET pages for this project?
Unable to start debugging on the web server. An authentication error occurred while communicating with the web server. Please see Help for assistance.
This error occurs because Microsoft Internet Information Server (IIS) is not running or is not functioning properly.
To resolve this problem, you must restart IIS. To do this, type iisreset at a command prompt.
Make sure that the IIS application is configured to use Integrated authentication so it will pass your credentials that are needed to launch the debugger. The anonymous account does not have sufficient permissions to perform debugging.
For more general information about ASP.NET, refer to the following MSDN newsgroup:
Article ID: 306165 - Last Review: June 28, 2012 - Revision: 4.0
Contact us for more help
Connect with Answer Desk for expert help.