adding performance counter to an app using EAB 2006 gives error

  • Thread starter Thread starter Guest
  • Start date Start date
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.
 
Back
Top