473,396 Members | 1,968 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

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 1619

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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.