Problem with Diagnostics.Process.GetProcesses(String machineName)



Hello,

For some reason I cannot look at the processes running on one machine
on the network. I always get the following error:

System.InvalidOperationException: Couldn't get process information from
remote machine. ---> System.ComponentModel.Win32Exception: The network
path was not found
at System.Diagnostics.PerformanceMonitor.Init()
at System.Diagnostics.PerformanceMonitor..ctor(String machineName)
at
System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String
item)
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at
System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String[]
categories, Int32[] categoryIndexes)
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library)
--- End of inner exception stack trace ---
at
System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib
library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String
machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String
machineName)
at System.Diagnostics.Process.GetProcesses(String machineName)

I don't understand how it can be telling me that the "The network path
was not found", because I can ping the machine, Map to it, Remote to it
etc.

Does anyone have any ideas as to what could be causing this machine to
be invisible to this function?

Thanks

.



Relevant Pages


Loading