简体   繁体   English

Visual Studio 2008远程调试-拒绝访问

[英]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. 我似乎无法让VS进行远程调试,也找不到找不到原因的合理原因。 I'm trying very hard to debug the WebServices I'm constructing, and it would be nice if the tools worked. 我正在非常努力地调试正在构造的WebServices,如果这些工具能够正常工作,那就太好了。
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. 服务器仅从域管理员帐户运行,并且如果我以域管理员身份运行Visual Studio,则允许进行远程调试。 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. 我已将我的用户帐户添加到“权限”部分,但RD似乎不记得它,即使在关闭并重新打开监视器且进程作为服务运行时也是如此。
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. 一切都是相同的版本-我的工作站(XP SP3)和服务器(Server 2003)上的Visual Studio 2008,客户端程序和WebServices均使用.Net 3.5。 If it helps, the server is running IIS 6.0. 如果有帮助,则服务器正在运行IIS 6.0。 Any ideas? 有任何想法吗?

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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