Hi everyone,
I have an aspx page where I am accessing some processes on my server (for example the memcached.exe process). I am using the System.Diagnostics.Process to locate an read information about these processes but as soon as the code tries to open the process to read its properties it trows a SecurityException and says "Accees is denied". I suppose I need to grant permission for the w3wp process or something like that. What do I need to do, any suggestions? (down below you see the exception I get)
[Win32Exception (0x80004005): Access is denied]
System.Diagnostics.ProcessManager.OpenProcess(Int32 processId, Int32 access, Boolean throwIfExited) +955456
System.Diagnostics.Process.GetProcessHandle(Int32 access, Boolean throwIfExited) +396
System.Diagnostics.Process.GetProcessTimes() +67
System.Diagnostics.Process.get_StartTime() +31
_Defaul ...
Go to the complete details ...