简体   繁体   中英

Visual Studio 2008 Remote Debugging - Access Denied

I've had this problem several times before, so please excuse my bluntness. I cannot seem to get VS to debug remotely, nor can I find a rational reason why not. I'm trying very hard to debug the WebServices I'm constructing, and it would be nice if the tools worked.
The given reason this time is 'Access is denied.' This is on top of the familiar error message 'Unable to step into remote server' etc. This time, it seems to be accurate; the server runs only from the domain admin account, and if I run Visual Studio as the domain admin, remote debugging is allowed. This is, of course, totally impractical for security.
I have added my user account to the Permissions section, but RD doesn't seem to remember it, even between closing & reopening the monitor with the process running as a service.
I've tried running the debugger as a Service, as a standalone program, without authentication, and manually adding both my user account and my group to the debug list, but no joy. I cannot remember what I did before to get things working, but I do remember having just as much fun.
Everything's the same version - Visual Studio 2008 on my workstation (XP SP3) and the server (Server 2003), using .Net 3.5 for both the client program and the WebServices. If it helps, the server is running IIS 6.0. Any ideas?

正确,破解了-远程调试无法记住我已将自己添加到“允许”列表中(这一点都不令我感到惊讶),因此我将自己添加到服务器本地Administrators组,远程调试包括了该组默认。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM