未能CoCreate的探查的错误 - 但不是使用分析器分析器、错误、不是、CoCreate

2023-09-03 15:44:15 作者:£神魔★判官ぃ

我们得到一个:

.NET运行库版本2.0.50727.5448 - 无法CoCreate的分析器

.NET Runtime version 2.0.50727.5448 - Failed to CoCreate profiler

在事件查看器在我们的网络服务器的消息,以及随后的:

message in the Event Viewer on our webserver, along with an accompanying:

.NET运行库版本4.0.30319.239 - CoCreateInstance的过程中装入探查失败。探查CLSID:{d37a1b78-6dc5-46fc-BC31-f7c4d5a11c9c}。 HRESULT:0x8007007e。进程ID(十进制):224消息ID:[0x2504]

.NET Runtime version 4.0.30319.239 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{d37a1b78-6dc5-46fc-bc31-f7c4d5a11c9c}'. HRESULT: 0x8007007e. Process ID (decimal): 224. Message ID: [0x2504].

的事情是,我们并没有试图用一个分析器,有没有探查的运行或安装在服务器上的code没有提及任何地方廓线仪...

The thing is, we're not trying to use a profiler, there are no profiler's running or installed on the server and the code makes no reference to profilers anywhere...

我们已经尝试删除,其他的都指出,涉及到这些消息,但都无济于事的注册表项;这似乎是我们的两个网站/ webapps中都发射了错误,一个使用.NET2其他4个,但我不知道去哪里找。

We've tried removing the registry keys that other's have pointed out are related to these messages but to no avail; it would seem that two of our websites/webapps are firing off the error, one using .Net2 the other 4, but I'm not sure where to look.

推荐答案

经过一番搜索,我发现有人有previously安装dotTrace,然后卸载它,但是卸载也不是很干净,留下的注册表散落有项目,但我们会删除我们认为可以停止这个问题有更具体​​的说探查某些条目。

After much searching I found that someone had previously installed dotTrace, then uninstalled it, however the uninstall wasn't very clean and had left the registry littered with entries, though we'd removed some entries we thought could stop the problem there were more specific to that profiler.

删除相关dottrace和CSID所有注册表项后,它presented我们不再出现在事件查看器的错误。

After removing all registry entries related to dottrace and the CSID it presented we no longer have the error appearing in the event viewer.