473,396 Members | 1,804 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

GetProcesses - Access is denied


I have given 'administrators' right to the ASP .NET
machine user account, what else is needed:

===============================================
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

Source Error:

An unhandled exception was generated during the execution
of the current web request. Information regarding the
origin and location of the exception can be identified
using the exception stack trace below.

Stack Trace:
[Win32Exception (0x80004005): Access is denied]
System.Diagnostics.PerformanceMonitor.GetData(Stri ng
item) +491

System.Diagnostics.PerformanceCounterLib.GetPerfor manceDat
a(String item) +158

System.Diagnostics.PerformanceCounterLib.get_Categ oryTable
() +80

System.Diagnostics.PerformanceCounterLib.GetPerfor manceDat
a(String[] categories, Int32[] categoryIndexes) +56
System.Diagnostics.NtProcessManager.GetProcessInfo s
(PerformanceCounterLib library) +157

[InvalidOperationException: Couldn't get process
information from remote machine.]
System.Diagnostics.NtProcessManager.GetProcessInfo s
(PerformanceCounterLib library) +259
System.Diagnostics.NtProcessManager.GetProcessInfo s
(String machineName, Boolean isRemoteMachine) +152
System.Diagnostics.ProcessManager.GetProcessInfos
(String machineName) +36
System.Diagnostics.Process.GetProcesses(String
machineName) +39
System.Diagnostics.Process.GetProcesses() +11
walledgarden.viewallprocess.CreateDataSource() in
c:\inetpub\wwwroot\walledgarden\viewallprocess.asp x.cs:56
walledgarden.viewallprocess.Page_Load(Object sender,
EventArgs e) in
c:\inetpub\wwwroot\walledgarden\viewallprocess.asp x.cs:134
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731
================================================== =
Nov 17 '05 #1
0 1022

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: David Hwang | last post by:
Need help to find out why GetProcesses() failed. I have given 'administrators' right to ASP .NET machine user, what else? ========================================== Access is denied...
5
by: Jane | last post by:
Hi, I try Process remoteByName = Process.GetProcesses(); it works but when I try Process remoteByName = Process.GetProcesses("localhost"); it fails with invalid operation please Help me!...
7
by: Denis Brkljacic | last post by:
Hi, I have made some simple ASP.NET (C#) application, that somewhere uses this command: Process aProcesses = Process.GetProcesses(Environment.MachineName); This command purpose is to find...
0
by: David Hwang | last post by:
I am trying to call GetProcesses() on local machine to get a listing of all processes, but am getting the following error messages. I thought by given "administrators" privilege to ASP .NET...
0
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the...
0
by: Snig | last post by:
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...
4
by: Steve D | last post by:
I am writing a program that monitors processes on remote computers. I am using Process.GetProcesses(remotecomputername), and it works for some of the computers on the network, but not all of them....
0
by: Steve D | last post by:
Following up a message I posted yesterday, I am writing a program using Process.GetProcesses(remotecomputername) to monitor processes on other computers in a network. It seems to work fine for some...
0
by: 5000wpm | last post by:
"couldn't get process information from remote machine" - Access denied Using VS2003 VB.NET 1.1 under Windows XP Pro x64. Hi, Having recently upgraded to Windows XP Pro x64 a problem has...
8
by: Jeremy Ames | last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.