PRB: "Unable to Start Debugging" Error Message When You Send Debug HTTP Request (306163)



The information in this article applies to:

  • Microsoft ASP.NET (included with the .NET Framework 1.1)
  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft ASP.NET (included with the .NET Framework) 1.0
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

This article was previously published under Q306163

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. Server-side error occurred on sending debug HTTP request.

Make sure the server is operating correctly. Verify there are no syntax errors in web.config by doing a Debug.Start without debugging. You may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation. Would you like to disable future attempts to debug ASP.NET pages for this project?

CAUSE

This problem can occur if there are syntax errors in the ASP.NET application's Web.config file.

RESOLUTION

To resolve this problem, make sure that all of the Extensible Markup Language (XML) in the Web.config file is valid and well formed. Also, remember that everything in Web.config is case-sensitive.

Modification Type:MinorLast Reviewed:7/8/2003
Keywords:kbConfig kbDebug kberrmsg kbprb kbweb KB306163 kbAudDeveloper