visual-studio-2010 - 配置 Visual Studio 2010 远程调试器

标签 visual-studio-2010 remote-debugging

我已经安装了Visual Studio 2010 Remote Debugger在 Windows Server 2003 (x86) 服务器上,并尝试连接到它会导致以下错误:

Unable to connect to the Microsoft Visual Studio Remote Debugging Monitor named 'ServerName'. The Visual Studio Remote Debugger on the target computer cannot connect back to this computer. A firewall may be preventing communication via DCOM to the local computer. Please see Help for assistance.



我检查了我的 Windows 防火墙设置,并确保在我的本地计算机上启用了文件共享。我已确保 DCOM 以及调试服务正在服务器上运行。据我所知,没有涉及实际的防火墙。

我还需要更改什么才能使其正常工作?

最佳答案

我刚遇到连接问题。问题是客户端 PC(我的桌面)可以连接到运行调试监视器的远程主机,但远程主机无法将数据发送回我的桌面。

原来这是由 Windows 防火墙中的“配置文件”设置引起的。防火墙规则仅限于“公共(public)”配置文件 - 但我的桌面已连接到本地域。将设置更改为“域”可确保远程主机可以将调试数据传回客户端桌面。

检查 Windows 防火墙 -> 入站规则 -> Microsoft Visual Studio -> 高级选项卡。

干杯,
Ĵ

关于visual-studio-2010 - 配置 Visual Studio 2010 远程调试器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4923400/

相关文章:

.net - 在 VS 2010 中调试时修改代码

visual-studio-2010 - Visual Studio Productivity Power Tools 创建的 .sln.docstates 文件是什么?

c# - 如何将数据从 SQL Server 数据库传输到 AX 2012?

debugging - 如何在远程调试时查看本地变量和自动变量值

apache - 通过 LAN 网络从另一台计算机访问 localhost (xampp) - 如何?

node.js - 在 Netbeans 8.1 上调试远程 Nodejs 项目

visual-studio-2010 - 为什么 Visual Studio 2010 Ultimate 打开几秒就崩溃了?

c++ - 将 VS2008 转换为 VS2010 项目 "cannot find the file specified"

使用 XDebug 进行 PHP 远程调试

c++ - 为什么 "Attach to Process"不允许其他传输类型? VS 2008