Microsoft Knowledge Base Email Alertz

KBAlertz.com: (306172) - 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.

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]

Search KbAlertz

Advanced Search

Webmasters
Put kbAlertz on your website.
[ Click Here for more! ]





ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **


Bug Tracking Software
For bug tracking software or defect tracking software or issue tracking software, visit Axosoft.


Community Site



We Send hundreds of thousands of emails using ASP.NET Email



Expert Web Design & Graphic Design
Design44.com

ASP.NET 3.5 Web Hosting with Windows 2008 and SQL 2008: Click Here!
Discount ASP.NET Hosting
ASP.NET 2.0 and 3.5
Windows2008 and SQL2008
US and UK Hosting
The ad says 3 - but KBAlertz referrals get
** SIX MONTHS FREE **




Mentioned In








Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks




Article ID: 306172 - Last Review: January 19, 2004 - Revision: 3.3

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

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  (http://kbalertz.com/Feedback.aspx?kbNumber=306156/EN-US/ ) 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  (http://kbalertz.com/Feedback.aspx?kbNumber=306163/EN-US/ ) 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  (http://kbalertz.com/Feedback.aspx?kbNumber=306164/EN-US/ ) 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  (http://kbalertz.com/Feedback.aspx?kbNumber=306165/EN-US/ ) 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  (http://kbalertz.com/Feedback.aspx?kbNumber=306169/EN-US/ ) 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  (http://kbalertz.com/Feedback.aspx?kbNumber=318465/EN-US/ ) 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 (http://go.microsoft.com/fwlink/?linkid=5811&clcid=0x409)

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
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate

Richard Teel - www.teelsys.com Report As Irrelevant  
Written: 11/18/2004 11:42 AM
I am getting the following error message, which is similar to the above. "Error while trying to run project: Unable to start debugging on the web server. Access is denied. Click Help for more information." The solutions listed by Microsoft have not fixed my issue. Does anyone have any information which will help? (Please read the rest before replying!) Background: The Web Application is running on Windows 2000 Server with .NET v1.1.4322 framework installed. Visual Studio 2003 is running on Windows XP Home Edition. I am able to connect and create the web application, but I am unable to debug it. I have created a local account on the Web Server which has the same User Name and Password as the XP machine and assigned it to the Administrators Group. I have another machine with Visual Studio 2003 running on Windows 2000 and that works perfectly, therefore I suspect the problem is on the XP Machine. Any help would be appreciated. Thank You, Richard Teel

(Optional) Name

(Optional) Public URL Or Email

Comments
No HTML -- Text Only Please