System.Management.ManagementException: Invalid class

L

LuChuanhua

Hello.

When I launch a application with "PhotonControl", I got following error message:


PhotonControl Error

Failed to query processes. Exception:

System.Managemnt.ManagementException: Invalid class

at System.Management.ManagementException.ThrowWithException(ManagementStatus.errorCode)

at System.Management.ManagementObject.Get()

at PhotonControl.Helper.ProcessInfo..ctor(Process process)

at PhotonControl.Helper.PhotonHandler.GetActiveProcesses(Int 32& serviceCount, Int32& appCount, Int64& memory)



When I go to Manage->Services and Applications->WMI Control->Properties, I can see following dialog:


Failed to initialize all required WMI classes.

Win32_Processor: WMI: Invalid class

Win32_WMISetting: WMI: Invalid class

Security information: Successful

Win32_OperatingSystem: WMI: Invalid class



I think the PhotonControl Error is caused by this. Is there any way to fix this problem?


PS: I don't have a backup of the WMI.

Continue reading...
 
Back
Top Bottom