473,386 Members | 1,883 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,386 software developers and data experts.

GetProcesses - Access is denied

Need help to find out why GetProcesses() failed. I have
given 'administrators' right to ASP .NET machine user,
what else?
==========================================
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

Jul 21 '05 #1
0 1618

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

Similar topics

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: 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...
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...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...

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.