Previous Next

Thread: ASP.Net 2.0 Performance Counters

Last post 06-12-2008 4:30 AM by Uday31in. 2 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (3 items)

Sort Posts:

  • 06-11-2008, 9:05 AM

    • Uday31in
    • Top 500 Contributor
    • Joined on 08-03-2007, 6:15 PM
    • Posts 9

    ASP.Net 2.0 Performance Counters

    Hello,

     I am having a very strange problem. System got .Net 1.0, 1.1 and 2.0 installed. Performance counters are working for 1.0 and 1.1 but for 2.0 it is not recording anydata.

     I tried following things:

    1) http://support.microsoft.com/kb/267831

    2)

    net stop iisadmin /y
    net stop "remote registry"
    unlodctr ASP.NET_2.0.50727
    unlodctr ASP.NET_64_2.0.50727
    unlodctr ASP.NET
    lodctr aspnet_perf.ini
    lodctr aspnet_perf2.ini
    net start iisadmin

    This is not working. I checked IIS_WPG permission and it is OK. I am not sure apart from reinstalling .net 2.0 what else should I try? Performance counters are there but it is not recording any data. It displays "--" in min,max and avg value.

     

    I am getting following errors in Application event log:

     

     Event Type:    Warning
    Event Source:    Perflib
    Event Category:    None
    Event ID:    2003
    Date:        6/11/2008
    Time:        1:31:36 PM
    User:        N/A
    Computer:    XXXXXX
    Description:
    The configuration information of the performance library "C:\WINDOWS\system32\infoctrs.dll" for the "InetInfo" service does not match the trusted performance library information stored in the registry. The functions in this library will not be treated as trusted.

    For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

     
    Uday
     

  • 06-11-2008, 10:17 PM In reply to

    Re: ASP.Net 2.0 Performance Counters

    1st Try following steps again from same KB 267831:

    unlodctr w3svc
    unlodctr msftpsvc
    unlodctr asp
    unlodctr inetinfo
    lodctr w3ctrs.ini
    lodctr ftpctrs.ini
    lodctr axperf.ini
    lodctr infoctrs.ini

    If above does not help, you may want refer following KB to rebuild the perf counters.

    (300956) - Describes how to manually rebuild Performance Counter Library values.
    http://support.microsoft.com/kb/300956/en-us

    HTH.

    ~ Ganesh

    Please: Don't forget to click "Mark as Answer" on the post that helped you. That way future readers will know which post solved your issue.
  • 06-12-2008, 4:30 AM In reply to

    • Uday31in
    • Top 500 Contributor
    • Joined on 08-03-2007, 6:15 PM
    • Posts 9

    Re: ASP.Net 2.0 Performance Counters

     Ganesh,

     I have executed those commands and event log message disappeared however performance counters for .Net 2.0 are not still not working. .Net 1.1 works fine.


     

Page 1 of 1 (3 items)
Page view counter