Need help to find out why GetProcesses() failed. I have
given 'administrators' right to ASP .NET machine user,
what else?
==========================================
Access is denied
Description: An unhandled exception occurred during the
execution of the current web request. Please review the
stack trace for more information about the error and
where it originated in the code.
Exception Details: System.ComponentModel.Win32Exception:
Access is denied
Source Error:
An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.
Stack Trace:
[Win32Exception (0x80004005): Access is denied]
System.Diagnostics.PerformanceMonitor.GetData(Stri ng
item) +491
System.Diagnostics.PerformanceCounterLib.GetPerfor manceDat
a(String item) +158
System.Diagnostics.PerformanceCounterLib.get_Categ oryTable
() +80
System.Diagnostics.PerformanceCounterLib.GetPerfor manceDat
a(String[] categories, Int32[] categoryIndexes) +56
System.Diagnostics.NtProcessManager.GetProcessInfo s
(PerformanceCounterLib library) +157
[InvalidOperationException: Couldn't get process
information from remote machine.]
System.Diagnostics.NtProcessManager.GetProcessInfo s
(PerformanceCounterLib library) +259
System.Diagnostics.NtProcessManager.GetProcessInfo s
(String machineName, Boolean isRemoteMachine) +152
System.Diagnostics.ProcessManager.GetProcessInfos
(String machineName) +36
System.Diagnostics.Process.GetProcesses(String
machineName) +39
System.Diagnostics.Process.GetProcesses() +11
walledgarden.viewallprocess.CreateDataSource() in
c:\inetpub\wwwroot\walledgarden\viewallprocess.asp x.cs:56
walledgarden.viewallprocess.Page_Load(Object sender,
EventArgs e) in
c:\inetpub\wwwroot\walledgarden\viewallprocess.asp x.cs:134
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731