0
Reply

Error in creating custom performance counter

Soumya Swamy

Soumya Swamy

Apr 12 2006 6:02 AM
1.7k

Hi,
   I am trying to create a custom Performance counter. I am Using a .NET 2005 web application for this purpose. I am getting "Required registry access denied" error on the execution of the line of code given below -

PerformanceCounterCategory.Create("EDWCategory", "CounterHelp",PerformanceCounterCategoryType.SingleInstance,"CounterEDW_BI", "Counter to understand & apply");

Could anyone pls tell me how to go about solving this?

Thanks
Soumya