I am trying to monitor the performance of the ASP.NET applications using the
Performance Counters. However, when I add them to my performance monitor
they all show zero all the time. I added all the counters under ASP.NET,
ASP.NET Applications, ASP.NET 1.1.4322, and ASP.NET Apps 1.1.4322, but all
of them are zero. If I add a performance counter for some other category,
say Processor%, it works fine. I am using Windows Server 2003 with all the
patches in place. Any ideas?
Thanks,
Michael Carr 7 1878
Hello Michael,
One of the reasons for this is that the account the W3WP process is running
under does not have suffient rights.
Add the account that the W3WP process is running under to the IIS_WPG group.
Please let me know if this helps.
Thank you,
John Soulis
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
The W3WP service is running under NETWORK SERVICE and the IIS_WPG group
contains the following:
Administrator
IWAM_ ...
LOCAL SERVICE
NETWORK SERVICE
SYSTEM
I tried changing the W3WP service temporarily to LOCAL SERVICE, SYSTEM, and
Administrator but those didn't work either ...
Another hint : When I select "ASP.NET Apps 1.1.4322" there are no actual
ASP.NET apps listed in the instances box... only "_Total_"
Any other ideas? I believe I have a fairly vanilla installation of Server
2003 ... not sure what could be causing this problem.
Michael Carr
"John Soulis [MSFT]" <js***@online.microsoft.com> wrote in message
news:T0**************@cpmsftngxa07.phx.gbl... Hello Michael, One of the reasons for this is that the account the W3WP process is
running under does not have suffient rights. Add the account that the W3WP process is running under to the IIS_WPG
group. Please let me know if this helps. Thank you, John Soulis Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
Further experimentation ...
I changed the App Pool Identity to "Administrator" and then it worked!
Obviously I don't want to run my ASP.NET service under the Administrator
user, so I created a new user named "CustomASPNET" and added it to the
IIS_WPG, but it didn't work. So then just for fun I added CustomASPNET into
the exact same groups as the Administrator account but it STILL didn't
work!! What the heck could be going on here?
Some more info:
1. My Server 2003 box is a PDC
2. I am running Exchange 2003
Do either of these mean anything?
Michael Carr
"John Soulis [MSFT]" <js***@online.microsoft.com> wrote in message
news:T0**************@cpmsftngxa07.phx.gbl... Hello Michael, One of the reasons for this is that the account the W3WP process is
running under does not have suffient rights. Add the account that the W3WP process is running under to the IIS_WPG
group. Please let me know if this helps. Thank you, John Soulis Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
I will see what other information I can find on this. As I suspected, it is
a permissions related issue.
Thank you,
John Soulis
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
Try this.
Use regedt32.exe
Go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ASP.NET_1.1.4322\Names.
Open the Security tab, and add the worker process identity with the
following
permissions:
Query Value
Set Value
Create Subkey
Enumerate Subkeys
Notify
Read Control
Thank you,
John Soulis
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
Hey that worked!!
Being that I have a very vanilla installation of Windows Server 2003, I
think this solution deserves a Knowledgebase Article ... I definately would
have never figured this out on my own and I spent half a day or so looking
around on Google, Microsoft Support, MSDN, etc before posting the question
here.
Thanks a million!!
Michael Carr
"John Soulis [MSFT]" <js***@online.microsoft.com> wrote in message
news:HH**************@cpmsftngxa07.phx.gbl... Try this. Use regedt32.exe Go to
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\ASP.NET_1.1.4322\Names.
Open the Security tab, and add the worker process identity with the following permissions: Query Value Set Value Create Subkey Enumerate Subkeys Notify Read Control
Thank you, John Soulis Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no
rights. Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm
This is in the works.
Thank you,
John Soulis
Microsoft, ASP.NET
This posting is provided "AS IS", with no warranties, and confers no rights.
Use of included script samples are subject to the terms specified at http://www.microsoft.com/info/cpyright.htm This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: rob_c |
last post by:
Hi,
I've been working with the EIF for a few days now. One of the default event
sinks provided is the WMI. I've played around a bit and can send events to
the WMI. My question here centers on...
|
by: Christopher Attard |
last post by:
Hi,
I need to create a dialog like the 'Add Counters' dialog box in
perfmon. I'm using the System.Diagnostics namespace class in .NET and I've
managed to do it.
The problem arises when I'm...
|
by: Brian Newtz |
last post by:
Hi everyone,
I posted this question to a yahoo group a while back but no one was able to
figure out my problem... I really want to get this fixed, so I'll repost the
message here:
I'm trying...
|
by: James |
last post by:
Hi
Has anybody had any experience of ASP.Net performance counters not updating.
In the performance monitor application when I try to add the groups ASP.NET
and ASP.NET Applications the...
|
by: Tom Jastrzebski |
last post by:
Hello,
I was just testing VB.Net on Framework.Net 2.0 performance when I run into
the this problem.
This trivial code attached below executed hundreds, if not thousand times
faster in VB 6.0...
|
by: mike |
last post by:
Problem: the snapshot output for dynamic SQL shows some SELECT
statements executed many times but all three CPU counters
(total/system/user) in the dynamic-sql-snapshot are zero,
but most other...
|
by: jvn |
last post by:
I am experiencing a particular problem with performance counters.
I have created a set of classes, that uses
System.Diagnostics.PerformanceCounter to increment custom performance
counters (using...
|
by: Robert Strickland |
last post by:
I have a .Net web service (written for 1.1 Framework using C#) running on
Windows 2003 with all latest patches. To help monitor the service, the code
creates several performance counters. One...
|
by: Zytan |
last post by:
I made a program using the Timer class, and I start the timer with
Timer.Start(), but don't stop it with Timer.Stop(), and I assumed this
was ok, but, Process Explorer informs me, after running it...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: ArrayDB |
last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |