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