Steven,
many thanks for your help, please see below for responses to your
suggestions.
1. Visit some of your ASP.NET web apps on the server so as to start them and
then in the Task manager to ensure that the W3WP process has started.
Once I have opened some ASP.NET Web Apps I have two W3WP processes showing
in Task Manager (one as System one as Network Service). After interacting
with the ASP.NET application the W3WP process running as Network Service
shows processor activity. So far this seems normal to me.
2. Open the Perfmon and choose the "ASP.NET v1.1.4322" and select the
"Appication running" counter to add. Then look the counter's value to see
whether the "Last" or the "Max" value represent the correct running
applicaiton's count.
Opened perfmon added "Applications Running" counter from "ASP.NET v1.1.4322"
group. Still shows zero for "Last", "Max" and the other variables. I have
tried loading additional ASP.NET Applications in IE but counter still shows
zero.
3. If the above counter can display well, that means the perfmon did
correctly represent the applicaitons running on the server. Then, switch to
"ASP.NET Applications" category and choose the "Select instances from list"
option to see whether the listbox can correctly list all the existing
running instances on the server.
No instances are showing in the "ASP.NET Apps v1.1.4322" or "ASP.NET
Applications" groups besides the _Total_ option.
4. In addition, we can also create a simple .net app (console or desktop) to
programmatically access the performance counters to check the values.
I have used Microsoft Application Center Test (ACT) tool running from my
development machine (XP Pro) to test some of the applications running on the
Windows 2003 server. ACT runs fine and performs as you would expect.
However when I add performance counters I get the same issue it works fine
for the other counters eg % processor time, but all ASP.NET counters just
show zero! From this I don't think it a permon related issue but rather
something to do with the ASP.NET counters unless ACT uses perfmon in the
background to collect counter information.
I also tried killing the other W3WP process running under System to see if
that would make any difference, as I thought maybe the performance counters
were somehow tied into the wrong process but I still get same results.
Any other suggestions you might have would be be appreciated.
Thanks,
James
"Steven Cheng[MSFT]" <v-******@online.microsoft.com> wrote in message
news:pr**************@TK2MSFTNGXA01.phx.gbl...
Hi James,
Welcome to ASP.NET newsgroup.
From your description, you found the performance counters for ASP.NET
applications doesn't display correctly on your win2k3 server machine, yes?
As far as I knew, there didn't has any othe existing issue on the
performance counters for ASP.NET applications. Also, I feel a bit strange
since you said that the counters on your 2003 server didn't list any of
the
running asp.net apps on it. I think we can still try the following
things:
1. Visit some of your ASP.NET web apps on the server so as to start them
and then in the Task manager to ensure that the W3WP process has started.
2. Open the Perfmon and choose the "ASP.NET v1.1.4322" and select the
"Appication running" counter to add. Then look the counter's value to see
whether the "Last" or the "Max" value represent the correct running
applicaiton's count.
3. If the above counter can display well, that means the perfmon did
correctly represent the applicaitons running on the server. Then, switch
to "ASP.NET Applications" category and choose the "Select instances from
list" option to see whether the listbox can correctly list all the
existing
running instances on the server.
In addition, we can also create a simple .net app (console or desktop) to
programmatically access the performance counters to check the values.
Thanks,
Steven Cheng
Microsoft Online Support
Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)