Home All Groups Group Topic Archive Search About

adding performance counter to an app using EAB 2006 gives error

Author
10 May 2007 3:32 PM
Vijay
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.

Author
11 May 2007 10:19 PM
Vijay
Never mind. Figured it out.

AddThis Social Bookmark Button