jetbrains-ide - 连接到 RemoteAgent 时出现无法识别的故障异常

标签 jetbrains-ide dottrace

如何解决 dotTrace Profiler 配置对话框中的以下错误消息?

Unrecognized FaultException: code Receiver, prefix Server was 
unable to process request. ---> Unable to open f

我在服务器上配置并运行了 RemoteAgent,防火墙端口 9000 打开。

尝试连接到它时,我指定了 IP 地址、端口和端点,然后收到了上面的消息。就是这样......它以字母“f”结尾,我不确定它指的是什么。我检查了日志,不幸的是,这就是我得到的全部:

12:51:09 PM.060: Thread:1: [ConfigRemove] #13 HostParameters:
<?xml version="1.0" encoding="utf-8"?>
<HostParameters type="RemoteHostParameters">
    <Domain IsNull="False">
    </Domain>
    <Password IsNull="False">
    </Password>
    <Url>http://192.168.1.177:9000/RemoteAgent/AgentService.asmx</Url>
    <UserName IsNull="False">
    </UserName>
</HostParameters>
12:51:09 PM.060: Thread:1: [ConfigRemove] #13 Make selection empty
12:51:09 PM.590: Thread:1: [ConfigActivate] #14 HostParameters:
<?xml version="1.0" encoding="utf-8"?>
<HostParameters type="RemoteHostParameters">
    <Domain IsNull="False">
    </Domain>
    <Password IsNull="False">
    </Password>
    <Url>http://192.168.1.177:9000/RemoteAgent/AgentService.asmx</Url>
    <UserName IsNull="False">
    </UserName>
</HostParameters>
12:51:09 PM.590: Thread:1: [ConfigActivate] #14 Set selection
12:51:09 PM.876: Thread:1: [ConfigActivate] #14 Start processing
12:51:09 PM.877: Thread:40: [ConfigActivate] #14 Connecting
12:51:09 PM.880: Thread:40: Local SysTools v5.5.4.160 loaded
12:51:10 PM.674: Thread:40: [ConfigActivate] #14 Failed
12:51:10 PM.674: Thread:40: [ConfigActivate] #14 Stored
12:51:10 PM.674: Thread:40: [ConfigActivate] #14 Set selection

服务器上似乎也没有任何信息。我在事件日志中看到的内容如下,它是在 RemoteAgent 启动时记录的,但很有意义,因为它可能不希望自己被分析:

The profiler has requested that the CLR instance not load 
the profiler into this process.

我找不到其他日志文件或工件。

其他信息:

  • 我使用的是 Windows 8.1
  • dotTrace 版本为 5.5.4
  • 服务器是 2012 年
  • 所有应用均以管理员权限运行

我已经能够连接到其他服务器上的其他 RemoteAgent。不知道这里缺少什么。

最佳答案

如果其他人遇到此问题,修复方法非常简单。在某一时刻,服务器上部署了不止一个版本的 RemoteAgent。

我删除了以下文件夹中的文件(感谢 Ilya Chernikov 在 JetBrains 论坛上的回复): %ProgramData%\JetBrains\Profiler\RemoteAgent\SysToolsCache

然后,我将当前版本的 RemoteAgent 重新部署到服务器。当我连接时,缓存已恢复并且我能够连接。

关于jetbrains-ide - 连接到 RemoteAgent 时出现无法识别的故障异常,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23999853/

相关文章:

WebStorm 支持嵌套 CSS

azure - Azure 上的 JetBrains DotTrace 远程分析

.net - 分析实时 = 45 秒,但线程时间 = 0.387 秒 什么会导致这种差异?

c# - 在 TeamCity 上配置 DotTrace 分析 VSTest

performance - dotTrace - 我应该为我的桌面应用程序使用哪些分析设置?

phpstorm - PhpStorm 中的多条垂直线以获得最大行长

ide - 如何自动缩小 PhpStorm/WebStorm 中的 html 文件?

syntax - WebStorm/JetBrains : cannot recognize es6 syntax in a . vue文件

jetbrains-ide - Datagrip 中缺少 Git 集成插件吗?