adding performance counter to an app using EAB 2006 gives error

G

Guest

Does anybody have any idea as to why i get the following exception when
trying to add a performance counter to a .net 2.0 windows application.
{"The requested Performance Counter is not a custom counter, it has to be
initialized as ReadOnly."}

Iam using Ent Library jan 2006, VS 2005 sp1, XP sp2. I have run
installservices.bat, installed instrumentation.

I have also run installutil on the application to generate the performance
counter object but when i fire up perfmon i don't see it at all.

Iam not sure if the above error is related to the performance counter not
being shown in perfmon.
 

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