.NET运行时版本4.0.30319.0 - 在CoCreateInstance期间加载分析器失败 [英] .NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance

查看:757
本文介绍了.NET运行时版本4.0.30319.0 - 在CoCreateInstance期间加载分析器失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

事件日志中出现以下错误。你能帮我解决这个问题。

Lot of below errors in the event log. Can you please help me to get this sorted.

日志名称:     申请

资料来源:        .NET运行时

日期:          5/28/2018 11:54:41 PM

活动编号:      1022

任务类别:无

级别:         错误

关键字:     经典款
用户:          xxxxxxxxxxxxx

电脑:      xxxxxxxxxxxxxx

说明:

.NET Runtime版本4.0.30319.0 - 在CoCreateInstance期间加载分析器失败。  Profiler CLSID:'{B74E4EB1-99CB-4B76-AF5F-2A0A973DC9A9}'。  HRESULT:0x80040154。 进程ID(十进制):19392。 消息ID:[0x2504]。
$
事件Xml:



Log Name:      Application
Source:        .NET Runtime
Date:          5/28/2018 11:54:41 PM
Event ID:      1022
Task Category: None
Level:         Error
Keywords:      Classic
User:          xxxxxxxxxxxxx
Computer:      xxxxxxxxxxxxxx
Description:
.NET Runtime version 4.0.30319.0 - Loading profiler failed during CoCreateInstance.  Profiler CLSID: '{B74E4EB1-99CB-4B76-AF5F-2A0A973DC9A9}'.  HRESULT: 0x80040154.  Process ID (decimal): 19392.  Message ID: [0x2504].
Event Xml:

推荐答案

0x80040154代表"未注册类"。

0x80040154 stands for "Class not registered".

确保将所有引用的库复制到应用程序的库 搜索路径,并运行" ; REGSVR32"或"gacutil / i"或"gacutil / i"。 (如果它是一个.NET COM库)根据需要在它们上面。

Make sure you copied all your referenced libraries to library search path of the application, and run "regsvr32" or "gacutil /i" (if it's a .NET COM library) on them as required.

还要注意在64位系统上,64位系统不会显示32位In-Proc COM类比特应用程序,反之亦然。

Also beware that on 64-bit systems, 32-bit In-Proc COM classes are not visible to 64-bit application and vice versa.


这篇关于.NET运行时版本4.0.30319.0 - 在CoCreateInstance期间加载分析器失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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