System.ComponentModel.Win32Exception: Access is de
Hi,
I am trying to create a custon performance counter for a web application. I am using Asp.net 2005 for this. The line of code that creates the category is as given below -
PerformanceCounterCategory.Create("EDWCategory", "CounterHelp",PerformanceCounterCategoryType.Singl eInstance,"CounterEDW_BI", "Counter to understand & apply");
When this line is getting executed i get the error -
"System.ComponentModel.Win32Exception: Access is denied "
IN the registry, i have given the read permission for
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\Cu rrentVersion\Perfli.It also has IUSER and IWAM permission. Still i get the error. Can anyone help me to solve this?
Thanks & regards
Soumya
|