Problem solve Get help with specific problems with your technologies, process and projects.

VS.NET won't let me debug my ASP.NET application

I am developing ASP.NET application using VS.NET IDE. When I start the application, I am not able to debug the application and get following message: "Error while trying to run project: Unable to start debugging on the Web server. Access is denied. Would like to disable this option in future?"

I have tried all tricks like reinstalled OS, IIS and VS.NET, added myself in Control Panel -> Administrative Tools -> Computer Management -> Local Users and Groups -> Groups -> Debugger Users, VS Developers and Users but none of these tricks worked. Please help me figure out how to debug. Thanks in advance.
VS.NET needs to authenticate using Windows Integrated Authentication against the Web Application in order to start debugging this way. As a workaround (and even a better way, IMO), you can use the Debug -> Processes (with Show system proceses checked) menu, and attach to the aspnet_wp.exe process, which is the one that runs ASP.NET. You can set your breakpoints, execute step-by-step, and everything as usual. Beware that at least one Web application must be previously started to successfully attach to the process.

Dig Deeper on Win Development Resources

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.