471,319 Members | 1,779 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,319 software developers and data experts.

Performance Counter complaining


I have created a service, which installer installs 5 performance counters as
well. Then the service instances these counters and interact with them.

If I check the event viewer I receive an error everytime the service starts:
"The requested Performance Counter is not a custom counter, it has to be
initialized as ReadOnly".

All my 5 counters are custom and actually all of them work fine showing the
values. I have been trying to debug if any particular one is complaining but
couldn't find it, if I go step by step no error is shown (I have tried every
single perf counter interaction), but as soon as I press F5 to run it the
event is triggered.

It seems that a bug, not really affecting my app but I am trying to
understand what is wrong with it.


Salvador Alvarez Patuel
Exony Ltd - London, UK

Dec 22 '05 #1
0 1189

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by jimiz | last post: by
7 posts views Thread by James | last post: by
17 posts views Thread by 57R4N63R | last post: by
12 posts views Thread by Richard Lewis Haggard | last post: by
reply views Thread by rosydwin | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.