【问题标题】:COM Exception: 0x800702E4 in 3rd party DLL while accessing referenced dll functionCOM 异常:访问引用的 dll 函数时,第 3 方 DLL 中的 0x800702E4
【发布时间】:2017-08-09 06:56:10
【问题描述】:

我在特定的 window 8.1 操作系统中遇到了这个问题。这在 Window 7 和 Window 10 中运行良好。在此问题窗口 8.1 操作系统出现 WMI 损坏问题之前,我已修复此 WMI 服务,我的其他服务运行良好,但突然出现错误。 这是因为 WMI 被修复了吗? 错误:

2017-08-08 10:41:23,856 [12] ERROR ERDeviceControl.WACardioPerfectControl.WACardioPerfectControlClass [(null)] - Error while invoking _RunTest in  
System.Runtime.InteropServices.COMException (0x800702E4): Retrieving the COM class factory for component with CLSID {C54F9C85-7759-11D3-9464-002018805EC4} failed due to the following error: 800702e4 The requested operation requires elevation. (Exception from HRESULT: 0x800702E4).
   at ERDeviceControl.WACardioPerfectControl.WACardioPerfectControlClass.InitTest(ATestType aTT)
   at ERDeviceControl.WACardioPerfectControl.WACardioPerfectControlClass._RunTest()

【问题讨论】:

  • 8 == 致命错误,7 == Windows 错误代码,0x2e4 == 740 == ERROR_ELEVATION_REQUIRED,“请求的操作需要提升”。那takes you here.

标签: c# exception com wmi elevated-privileges


【解决方案1】:

我已经在 win 8.1 中解决了这个问题。我已以“以管理员身份运行”身份运行我的应用程序。

【讨论】:

    猜你喜欢
    • 2016-08-11
    • 2017-09-16
    • 2017-05-22
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多