Access is Denied error using Process.GetProcesses()

From: Elliot (esemmelman_at_afgweb.com)
Date: 01/19/04


Date: 18 Jan 2004 22:41:12 -0800

I am sure this has been covered as I am just now "sinking" into asp.net.

I am getting an "Access Denied" error when the following code tries to execute:

Dim myProcesses() As Process
Dim myProcess As Process
myProcesses = Process.GetProcesses() 'This line FAILS!

I am using a local machine using Win 2K and IIS 5.0.

Any help is appreciated.

Thank you,
Elliot Semmelman


Quantcast