ASP.NET perfmon counters all 0 ... ??

Z

Z D

Hello,

I have a Windows Server 2003 machine running IIS6.0. I recently xcopied over
an ASP.NET application that was originally running on a Windows 2000 Server
machine.

The application works perfectly on the new server, however, when I run
perfmon and try to look at the stats then everything shows up as 0 when
viewing anything under the following performance objects:

- ASP.NET
- ASP.NET Applications
- ASP.NET Apps v1.1.4322
- ASP.NET v1.1.4322


Also, in the "Select Instances From" list, none of my applications are
listed (which is probably why everything is all zero). A few of the ones
listed above have __total__, but that makes no difference.


Anybody have any suggestions? The app itself is working just fine, its just
that I cant get any stats on it!

Do I have to somehow "register" my app with perfmon in Server 2003?

Thanks in advance
 
A

Alvin Bruney [MVP]

This is probably a permissions issue. Make sure your webpage has access to
the system. Normally, a webpage does not have access by default. It needs to
be granted.
 
Z

Z D

Alvin,

How do I give "access" to my webpage? What exactly are you referring to...

thanks


Alvin Bruney said:
This is probably a permissions issue. Make sure your webpage has access to
the system. Normally, a webpage does not have access by default. It needs to
be granted.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Z D said:
Hello,

I have a Windows Server 2003 machine running IIS6.0. I recently xcopied over
an ASP.NET application that was originally running on a Windows 2000 Server
machine.

The application works perfectly on the new server, however, when I run
perfmon and try to look at the stats then everything shows up as 0 when
viewing anything under the following performance objects:

- ASP.NET
- ASP.NET Applications
- ASP.NET Apps v1.1.4322
- ASP.NET v1.1.4322


Also, in the "Select Instances From" list, none of my applications are
listed (which is probably why everything is all zero). A few of the ones
listed above have __total__, but that makes no difference.


Anybody have any suggestions? The app itself is working just fine, its just
that I cant get any stats on it!

Do I have to somehow "register" my app with perfmon in Server 2003?

Thanks in advance
 
J

Jerry III

Alvin, he's not trying to access performance counters from an Asp.Net page.
I understand that when he runs a Perfmon all the counters under those four
categories are zeros.

But I don't know what gives...

Jerry

Alvin Bruney said:
This is probably a permissions issue. Make sure your webpage has access to
the system. Normally, a webpage does not have access by default. It needs to
be granted.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Z D said:
Hello,

I have a Windows Server 2003 machine running IIS6.0. I recently xcopied over
an ASP.NET application that was originally running on a Windows 2000 Server
machine.

The application works perfectly on the new server, however, when I run
perfmon and try to look at the stats then everything shows up as 0 when
viewing anything under the following performance objects:

- ASP.NET
- ASP.NET Applications
- ASP.NET Apps v1.1.4322
- ASP.NET v1.1.4322


Also, in the "Select Instances From" list, none of my applications are
listed (which is probably why everything is all zero). A few of the ones
listed above have __total__, but that makes no difference.


Anybody have any suggestions? The app itself is working just fine, its just
that I cant get any stats on it!

Do I have to somehow "register" my app with perfmon in Server 2003?

Thanks in advance
 
A

Alvin Bruney [MVP]

ok thanks for the correction.

start by trying to re-register the perfmon application using
regsvr32 aspperfc.dll
you may also need to re-register the pdh.dll as well because it is a helper
dll.

See if that helps.
--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Jerry III said:
Alvin, he's not trying to access performance counters from an Asp.Net page.
I understand that when he runs a Perfmon all the counters under those four
categories are zeros.

But I don't know what gives...

Jerry

Alvin Bruney said:
This is probably a permissions issue. Make sure your webpage has access to
the system. Normally, a webpage does not have access by default. It
needs
to
be granted.

--
Regards,
Alvin Bruney [ASP.NET MVP]
Got tidbits? Get it here...
http://tinyurl.com/3he3b
Z D said:
Hello,

I have a Windows Server 2003 machine running IIS6.0. I recently
xcopied
over
an ASP.NET application that was originally running on a Windows 2000 Server
machine.

The application works perfectly on the new server, however, when I run
perfmon and try to look at the stats then everything shows up as 0 when
viewing anything under the following performance objects:

- ASP.NET
- ASP.NET Applications
- ASP.NET Apps v1.1.4322
- ASP.NET v1.1.4322


Also, in the "Select Instances From" list, none of my applications are
listed (which is probably why everything is all zero). A few of the ones
listed above have __total__, but that makes no difference.


Anybody have any suggestions? The app itself is working just fine, its just
that I cant get any stats on it!

Do I have to somehow "register" my app with perfmon in Server 2003?

Thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top