Process.GetProcesses() throws exception: process performance counter is disabled

  • Thread starter Thread starter Raj
  • Start date Start date
R

Raj

Hi!

Every time my applicaiton call "System.Diagnosis.Process.GetProcesses() and
some other related APIs in dotnet framework, it throws the following
exception: "An unhandled exception of type
'System.InvalidOperationException' occurred in system.dll. Additional
information: Process performance counter is disabled, so the requested
operation cannot be performed."

My application works fine in my development machine as well as another computer.

Anyone can help? Thanks a lot in advance!

Regards,
Rajesh Patel
 
Back
Top