我该如何解决"提供程序加载失败" WMI的请求? [英] How can I resolve a "Provider load failure" for WMI requests?

查看:990
本文介绍了我该如何解决"提供程序加载失败" WMI的请求?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用WMI来收集系统信息。它工作正常,每个系统我已经测试了,但我有被报告的问题一个或两个用户。调试日志显示WMI code抛出一个提供程序加载失败的异常。我一直无法复制的问题。

I'm using WMI to collect system information. It works fine on every system I've tested it on, but I have one or two users that are reporting problems. The debug logs show the WMI code is throwing a "Provider load failure" exception. I haven't been able to replicate the issue.

该用户已验证WMI服务是在自动模式下运行。

The users have verified that the WMI service is running in Automatic mode.

下面是例外:

System.Management.ManagementException: Provider load failure 
   at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode)
   at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()

在如何诊断和解决这个问题有什么想法?

Any thoughts on how to troubleshoot and resolve this issue?

推荐答案

您可能需要确认所有正确注册的dll文件(见的 http://msdn.microsoft.com/en-us/library/bb961987.aspx )。

You might want to confirm all the dlls are properly registered (see http://msdn.microsoft.com/en-us/library/bb961987.aspx).

这篇关于我该如何解决"提供程序加载失败" WMI的请求?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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