Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

PRB: "Unable to start debugging on the Web server" error message when you debug ASP.NET applications


Symptoms

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. Would you like to disable future attempts to debug ASP.NET pages for this project?
In Visual Studio 2005 .NET, you receive the following error message:
Unable to start debugging on the web server. An authentication error occurred while communicating with the web server. Please see Help for assistance.

↑ Back to the top


Cause

This error occurs because Microsoft Internet Information Server (IIS) is not running or is not functioning properly.

↑ Back to the top


Resolution

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.

↑ Back to the top


References

For more general information about ASP.NET, refer to the following MSDN newsgroup:

↑ Back to the top


Keywords: kbdebug, kbdsupport, kberrmsg, kbprb, kb

↑ Back to the top

Article Info
Article ID : 306165
Revision : 1
Created on : 1/7/2017
Published on : 6/28/2012
Exists online : False
Views : 328