Re: Problem with Diagnostics.Process.GetProcesses(String machineName)
- From: "Joseph Bittman MCSD DPM MVP" <RyanBittman@xxxxxxx>
- Date: Fri, 14 Oct 2005 17:32:32 -0700
October 14, 2005
Could you please post the server name string which generated the error
that you passed to the function? Thanks!
--
Joseph Bittman
Microsoft Certified Solution Developer
Microsoft Most Valuable Professional -- DPM
Web Site: http://71.39.42.23/
Static IP
"XxLicherxX" <goldhors64@xxxxxxx> wrote in message
news:1129314837.035159.243830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hello,
>
> I tried posting this in a different VB.net newsgroup, but never got a
> response. Please let me know if there is a better group to post this
> in. Thanks.
>
> 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
>
.
- Follow-Ups:
- References:
- Problem with Diagnostics.Process.GetProcesses(String machineName)
- From: XxLicherxX
- Problem with Diagnostics.Process.GetProcesses(String machineName)
- Prev by Date: Re: HTML Fields via VB.Net
- Next by Date: ArrayList Search for Value
- Previous by thread: Problem with Diagnostics.Process.GetProcesses(String machineName)
- Next by thread: Re: Problem with Diagnostics.Process.GetProcesses(String machineName)
- Index(es):
Relevant Pages
|