INFO: Common Errors When You Debug ASP.NET Applications in Visual Studio .NET (306172)



The information in this article applies to:

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

This article was previously published under Q306172

SUMMARY

This article provides a list of articles that describe some of the most common problems you encounter when you debug ASP.NET applications in Visual Studio .NET.

MORE INFORMATION

  • 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. The project is not configured to be debugged.

    For ASP.NET projects, verify that you have a valid project file called 'Web.config' for the URL specified and 'debug' is set to 'true' in that file.
    For ATL Server projects, verify that the 'DEBUG' verb is associated with your ISAPI extension.
    Would you like to disable future attempts to debug ASP.NET pages for this project?
    For additional information about how to resolve this error message, click the article number below to view the article in the Microsoft Knowledge Base:

    306156 PRB: Error "The Project Is Not Configured to Be Debugged" When You Debug ASP.NET Applications

  • 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?
    For additional information about how to resolve this error message, click the article number below to view the article in the Microsoft Knowledge Base:

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

  • When you remotely 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. Access is denied. Check the DCOM configuration settings for the machine debug manager. Would you like to disable future attempts to debug ASP.NET pages for this project?
    For additional information about how to resolve this error message, click the article number below to view the article in the Microsoft Knowledge Base:

    306164 PRB: 'Access Is Denied' Err Msg When You Debug ASP.NET Page

  • 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?
    For additional information about how to resolve this error message, click the article number below to view the article in the Microsoft Knowledge Base:

    306165 PRB: Error "Unable to Start Debugging on the Web Server" When You Debug ASP.NET Applications

  • When you debug ASP.NET pages, the Visual Studio .NET Debugger may not stop on breakpoints. For additional information about how to resolve this problem, click the article number below to view the article in the Microsoft Knowledge Base:

    306169 PRB: Visual Studio .NET Debugger Does Not Stop on Breakpoints When You Debug ASP.NET Pages

  • 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. Access is denied. Would you like to disable future attempts to debug ASP.NET pages for this project?
    Verify that you are a member of the Administrators group and the Debugger Users group on the computer. A non-administrator does not have the correct permissions to debug the default ASP.NET worker process (Aspnet_wp.exe on Microsoft Windows 2000 and Microsoft Windows XP, and W3wp.exe on Microsoft Windows Server 2003).
  • When you debug an ASP.NET application in Microsoft Visual Studio .NET, you may receive the following Microsoft Development Environment error message:
    Error while trying to run project: Unable to start debugging on the web server. The server does not support debugging of ASP.NET or ATL Server applications. Run setup to install the Visual Studio .NET server components. If setup has been run, verify that a valid URL has been specified.

    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?
    For additional information about how to resolve this error message, click the article number below to view the article in the Microsoft Knowledge Base:

    318465 PRB: Cannot Debug ASP.NET Web Application

REFERENCES

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

Modification Type:MajorLast Reviewed:1/19/2004
Keywords:kbPubTypeKC _IK kbDebug kberrmsg kbGrpDSASP kbinfo KB306172 kbAudDeveloper