Our customer has a HTTP Remoting endpoint with a framework method that attempts to find out the name of the current running process. In calling System.Diagnostics.Process.ProcessName
it intermittently gets into this error condition in some of their Windows 2003 servers.
Error Message :
Couldn't get process information from remote machine. ---> System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.PerformanceMonitor.GetData(String item)
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)