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

Article translations Article translations
Article ID: 306172 - View products that this article applies to.
This article was previously published under Q306172
Expand all | Collapse all

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:
microsoft.public.dotnet.framework.aspnet

Properties

Article ID: 306172 - Last Review: June 28, 2012 - Revision: 4.0
APPLIES TO
  • Microsoft ASP.NET 1.1
  • Microsoft ASP.NET 1.0
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2002 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft Visual Studio .NET 2002 Enterprise Architect
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2002 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Academic Edition
  • Microsoft Visual Studio .NET 2002 Academic Edition
Keywords: 
kbpubtypekc _ik kbdebug kberrmsg kbgrpdsasp kbinfo KB306172

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com