Hi
I've a simple web application where I need to list all the processes
running in the local system.
First, my code was generating error:
System.ComponentModel.Win32Exception: Access is denied.
According to some suggestions found in the Internet, I've given
permission of the registry key "HKLM/Software/Microsoft/Windows
NT/Current/Version/Perflib" to "everyone". And the error went away.
But, however, for a while only. As now the code is generating error:
Couldn't get process information from remote machine.
I have tried the code in a simple Console Application as well. There
also I'm facing the similar error.
This is driving me crazy. What permission is needed for running this
functions? The current windows user is an administrator and I'm using
Windows Authentication(i.e. Anonymous login disabled in IIS).
Obviously, this hardly matters in case of Console Application where
also I'm experiencing the same problem.
Can anybody help me out please?
Thanks.