Access is denied in Process.GetProcesses()
Hello Friends,
I'm getting running processes using the Process.GetProcess() on localhost and my code is giving the output i want to. But after uploading on my server it throws following error
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
.........
And also i've already set <identity impersonate="true"/> and full trust level