Last post Jun 02, 2009 05:47 AM by Thomas Sun – MSFT
May 27, 2009 08:40 PM|amisol|LINK
I'm logging to a citrix box which I'm part of the VS Debugger Users. I tried debugging the application but when I try to attach the w3wp.exe I get access denied.
What is the policy our admin need to set up in order to give us the ability to attach the debugger? We looked at the Debug Program under user rights assignment with no success.
Developers can't be part of the administrator group (that's the only way we could make this work).
May 27, 2009 10:52 PM|nikki_doer_of_things|LINK
I think you're stuck? I've never tried without being in the admin group, but here's what I found in the docs.
Visual Studio remote debugging components must be installed on the server you want to debug. For more information, see
Setting Up Remote Debugging.
By default, the ASP.NET worker process runs as an ASPNET user process.
As a result, you must have Administrator privileges on the computer where ASP.NET runs to debug it. The name of the ASP.NET worker process varies by debug scenario and version of IIS. For more information, see
How to: Find the Name of the ASP.NET Process.
http://msdn.microsoft.com/en-us/library/z3bxds0s.aspx "To debug a process that is running under another account name: Your Windows login account has to be a member of the system administrators
group on the remote computer."
May 28, 2009 01:15 AM|amisol|LINK
So, is there a way to run the asp.net worker process under my user? or am I stuck stuck...
Jun 02, 2009 05:47 AM|Thomas Sun – MSFT|LINK
To debug .NET applications, developers not only need the capabilities provided as members of the “Debugger Users” but also need to log into the same account that runs the ASPNET worker process when debugging an ASP.NET web service.
For more information, see http://download.microsoft.com/download/f/f/8/ff8c8040-d1a7-4402-90df-5d1aaa7d37af/dotNETDevVSGroups.pdf (Section:
Debugging ASP.NET Web Applications and Services ).
I look forward to receiving your test results.