Q

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.

This was first published in November 2003

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.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchCloudComputing

SearchSoftwareQuality

SearchSOA

TheServerSide

SearchCloudApplications

Close