远程调试器问题>调试器无法连接到远程计算机 [英] Remote Debugger problem > The debugger cannot connect to the remote computer

查看:684
本文介绍了远程调试器问题>调试器无法连接到远程计算机的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从本地环境中远程调试生产服务器上的ASP.NET应用程序,但完全没有成功.

I'm trying to remotely debug an ASP.NET application on a production server, from my local environment, without success at all.

远程服务器是Windows Server2003.没有活动的Ipsec策略. Windows防火墙关闭 .
我以管理员身份通过远程桌面连接到服务器.
我以管理员身份登录本地环境.

Remote server is Windows Server 2003. There are no active Ipsec policies. Windows Firewall is OFF.
I'm connecting to the server through remote desktop, as an admin.
I'm logged in as admin in my local environment too.

我安装了远程调试设置";在服务器上,名为" rdbgsetup.exe "的文件您可以在CD上的VS2008 Remote Debugger文件夹中找到.

I installed "Remote Debug Setup" on the server, the file named "rdbgsetup.exe" you can find in the VS2008 Remote Debugger folder on the cd.

当我在服务器上运行VS 2008远程调试器配置向导时,我在向导的第二页上阅读了此消息:
Windows防火墙当前正在阻止远程调试.必须允许远程调试器(msvsmon.exe)从网络接收信息.远程调试还需要取消阻止DCOM和IPSEC.

When I run the VS 2008 Remote Debugger Config Wizard on the server, I read this message on the second page of the wizard:
The Windows Firewall is currently blocking remote debugging. The remote debugger (msvsmon.exe) must be allowed to receive information from the network. Remote debugging also requires DCOM and IPSEC be unblocked.

我不知道如何解决这个问题.正如我所说的,防火墙已关闭并且没有有效的ipsec策略.
我忽略了该标签,并在服务器上启动了VS2008远程调试器.服务器名称" a_user @ a_computer "

I don't have a clue how to troubleshot that. As I said firewall is off and no active ipsec policies.
I ignore that label and start the VS2008 remote debugger on the server. Server name "a_user@a_computer"

在我的本地计算机(Vista)上,启动VS2008>调试>附加到进程.
运输:默认|限定符:" a_user @ a_computer "
单击刷新按钮,我收到消息:

无法连接到 a_user @ a_computer ".调试器无法连接到远程计算机.这可能是因为远程计算机不存在,或者防火墙可能阻止了与远程计算机的通信.

On my local computer (Vista) I start VS2008 > Debug > Attach to process.
Transport: Default | Qualifier: "a_user@a_computer"
Click the refresh button and I get the message:

Unable to connect to "a_user@a_computer". The debugger cannot connect to the remote computer. This may be because the remote computer does not exists or a firewall may be preventing communication to the remote computer.

我已经阅读了数十篇有关该主题的文章,但没有一篇对我有特别的帮助.

期待收到您的评论!

I've read several dozens articles in this subject but none of them helped me particularly.

Look forward to receiving your comments!

此致,
Agustin Garzon.

推荐答案

检查是否可以ping通另一台计算机(对两台计算机都执行此操作).由于您的本地计算机是Vista,因此您可能需要转到控制面板->网络和共享中心,并启用网络发现.

此外,如果您尝试重新启用防火墙并添加远程调试作为例外,是否可以查看会发生什么情况?这是有关操作方法的链接: http://msdn.microsoft.com/zh-cn/library/bt727f1t.aspx

Also, can you check what happens if you try to re-enable firewall and add remote debugging as exceptions? Here’s a link on how you do it: http://msdn.microsoft.com/en-us/library/bt727f1t.aspx

希望有帮助,

Alina


这篇关于远程调试器问题>调试器无法连接到远程计算机的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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