远程调试器安全包特定的错误 [英] Remote Debugger Security Package Specific Error

查看:400
本文介绍了远程调试器安全包特定的错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

无法使用Visual Studio 2005进行远程调试.

远程开发服务器(RemoteMachine)

我有一个.net项目托管在Windows 2003 Server下运行的名为 RemoteMachine 的远程服务器(内部网,相同域)上.该项目已加载到2.0框架上.已从 RemoteMachine 上的Studio 2005安装磁盘加载了远程调试器组件.我的登录ID( MyAccount )是 RemoteMachine 上管理员组的成员.为了达到良好的效果,我在 RemoteMachine 上的调试器组中添加了 MyAccount .远程调试器正在 RemoteMachine 上运行.我使用运行方式"运行它并在 RemoteMachine 上插入智能卡(与我在本地客户端上使用的智能卡相同).它告诉我"...启动了一个名为"MyDomain \ MyAccount @ RemoteMachine"的新服务器..."此外,在 RemoteMachine 上设置了Windows身份验证模式.

本地调试器客户端(MyClient)

MS Vista和Visual Studio 2005已加载到我的本地客户端( MyClient )上在与上述 RemoteMachine 相同的Intranet上,并使用了与我用来启动上述远程调试器相同的智能卡.我是 MyClient 的管理员.此外, MyAccount MyClient 上的调试器组中.最初,我打开了 RemoteMachine (以前是在VS1.1框架1.1上创建的)上托管的项目,并进行了转换.我已经到了可以在浏览器(IE7)中打开转换后的项目的位置.我还可以使用VS 2005在设计模式下打开页面,并毫无问题地查看VB代码和标记代码.现在是坏消息.在VS 2003下,我是远程调试的忠实粉丝;但是,当我单击绿色箭头以使用VS 2005调试项目时,该项目会成功构建,然后告诉我" ...无法在Web服务器上开始调试.发生了特定于安全软件包的错误."我试图将 RemoteMachine IP地址和名称添加到C:\ windows \ system32 \ drivers \ etc \在 MyClient 上托管(尚未见到良好的语法示例).一篇文章建议在 RemoteMachine上附加该进程(我假设为asp_net); ;因此,我单击VS 2005菜单栏上的 Tools ,然后单击附加到进程 .我在标签为 Qualifier 的文本框中键入 MyDomain \ MyAccount @ RemoteMachine . 20秒后,我收到消息.无法连接到名为 MyDomain \ MyAccount @ RemoteMachine的Microsoft Visual Studio远程调试监视器..发生了特定于安全软件包的错误. .."我在 RemoteMachine 上查看了应用程序事件日志,并且看到一个错误消息,提示".远程调试器无法与Visual Studio通信,因此必须中止远程调试会话. .." 系统之间不存在防火墙. MyClient 的防火墙已禁用.

为什么为什么我的 MyClient 上的本地VS 2005无法识别同时运行的 RemoteMachine 上的远程调试器实例(和/或反之亦然)在相同的用户ID和智能卡,相同的域下,并且 MyAccount 是两个系统上的管理员吗?

我绝对尝试过我在网络上的每篇文章和对话中所找到的所有内容,以纠正此问题,但未成功.任何提示都将不胜感激....


空军Refred

解决方案

你好,加里,

我了解你的情况.不用担心,我会在这个问题上为您提供帮助.

远程开发服务器(RemoteMachine):

远程服务器上的消息 "...启动了一个名为'MyDomain \ MyAccount @ RemoteMachine'的新服务器... "表示远程服务器上的远程调试器正常运行.

在这里,我需要向您确认一件事:我们是否向客户端上的用户帐户授予了Debug特权(在这种情况下,该帐户应为MyDomain \ Myaccount @ ClientMachine)?

如果我们没有,我们可以通过在Visual Studio远程调试监视器窗口上单击工具"菜单并选择权限..."来完成此操作.

本地调试器客户端(MyClient):

,请再次与您确认:
1.我们是否以域用户身份登录客户端?
2.在该帐户中输入我们的帐户(在这种情况下为 MyAccount )管理员组?
(请注意,"此外, MyAccount MyClient "上的调试器组中).
3.我们以 MyAccount 的身份运行我们的Visual Studio?

请向我们提供这些信息以供进一步调查.
此外,请查看Retred Air Force

解决方案

Hello Gary,

I understand your situation. Don't worry, I'll help you on this issue.

The remote Development Server (RemoteMachine):

The message on the remote server "... started a new server named 'MyDomain\MyAccount@RemoteMachine' ..." indicates that the Remote Debugger on the remote server runs correctly.

Here, I need to confirm one thing with you: do we granted Debug previledge to the user account on the client (it should be MyDomain\Myaccount@ClientMachine in this case)?

If we don't, we could complete this operation by clicking Tools menu on the Visual Studio Remote Debugging Monitor window and choose Permissions...

The Local Debugger Client (MyClient):

 Just to confirm with you again:
 1. do we logon the client as a domain user?
 2. do our account (MyAccount in this case) in the Administrator group?
    (Please note that "Additionally, MyAccount is in the debuggers group on MyClient")
 3. do we run our Visual Studio as MyAccount?

Please provide us those information for further investigation.
Also, please take a look at 
this article on how to implement remote debugging in Visual Studio 2005, we could get an example on how to implement remote debugging in the same domain, too.

Best regards,


这篇关于远程调试器安全包特定的错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆