0

My own performance monitor is created and can be seen in "Add counters" left pane's list in Performance Monitor, but I can't add it to line view, I've tried:

  1. restart computer and restart Performance Monitor under Administrator priviledge
  2. start service "Performance Counter DLL Host" ref
  3. add current windows account to Performance Monitor Users local group ref
  4. rebuild performance monitor and make sure my custom performance monitor is enabled ref

but I still cannot add it to the line view, while other system's own counter can

Does anyone has any clue please? Thank you in advance.

user1108069
  • 503
  • 2
  • 5
  • 16

1 Answers1

0

I found the answer on my own.. I realized the Event Viewer might help so I checked it, among all the add counter operations, an error appears once with the message being "Disabled performance counter data collection from the "ASP.NET_2.0.50727" service because the performance counter library for that service has generated one or more errors. The errors that forced this action have been written to the application event log. Correct the errors before enabling the performance counters for this service." so I googled this message and found this post, I followed the steps answered by "Nick Gu - MSFT" and it worked! The counter can be added now.

user1108069
  • 503
  • 2
  • 5
  • 16