Re: System.Diagnostics, Process and Security

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: John Oakes (john_at_networkproductions.net)
Date: 02/13/04


Date: Fri, 13 Feb 2004 01:30:16 -0500

Did you restart IIS after changing machine.config?

-John Oakes

"Michael Johnson Sr." <m.johnson.sr@acmewidgets.com> wrote in message
news:%23rSCTgf8DHA.1816@TK2MSFTNGP12.phx.gbl...
> I am trying to view a list of running processes using ASP.NET with C#, I
> found System.Diagnostics.Process which seems to work good with IIS 5 and
XP,
> when I move the application to Windows 2000 Server, I start having alot of
> access denied errors. Before i only got access denied when trying to stop
> another user process, on win2000 i get it for everything, I used an admin
> enabled account with <identity> which didn't fix it.
>
> In the event log, there is errors about accessing performance metrics or
> something on MS technet, it says you must be admin.
>
> I also went into machine.config and set worker process to run as SYSTEM
> rather than MACHINE, anyone have any ideas what I can do to fix this?
>
>



Relevant Pages

  • System.Diagnostics, Process and Security
    ... found System.Diagnostics.Process which seems to work good with IIS 5 and XP, ... access denied errors. ... it says you must be admin. ... anyone have any ideas what I can do to fix this? ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Error -2147217405
    ... So if you get access denied errors, ... Does the Admin$ share exist on these workstations? ... client changes. ... Windows 2000 Pro I keep getting this error: ...
    (microsoft.public.sms.admin)