If you want to make inquiries on the Airheads LIST I may respond; & others might also.What is in the article that follows is strictly information for which YOU are responsible. Some people modify the Airheads using parts from other makes of motorcycles.This log or alert will continue, but data for that counter will not be collected.The error returned is: The specified counter could not be found.Solar Winds uses cookies on our websites to facilitate and improve your online experience.By continuing to use our website, you consent to our use of cookies.
I have performance counters group and some performance counters.
If I then quit the performance monitor and restarted it the last counter value in the test program would be shown, indicating that it was being set correctly.
If I then ran the test program again, just changing values, performance monitor would finally pick up the changes.
So the code, as everyone indicated is correct, it was the Windows Performance monitor that was misbehaving. Is it possible in the course of your testing that you changed the counter name?
Your code doesn't verify that the category contains your counter - it only checks if the category exists, and if it does, it doesn't create the category.