Hi,
I am trying to run my webservice which creates a performance counetr and
writes to it on Windows 2003, where the following error is returned. It runs
fine on Windows 2000.
Error:
[InvalidOperationException: Category does not exist.]
System.Diagnostics.PerformanceCounterLib.CounterEx ists(String machine,
String category, String counter) +283
System.Diagnostics.PerformanceCounter.Initialize() +235
System.Diagnostics.PerformanceCounter..ctor(String categoryName, String
counterName, String instanceName, Boolean readOnly) +127
System.Diagnostics.PerformanceCounter..ctor(String categoryName, String
counterName, Boolean readOnly) +21
System.Diagnostics.PerformanceCounter..ctor(String categoryName, String
counterName) +11
PCHistory.Global.SetupPerformanceCounters()
PCHistory.Global.Application_Start(Object sender, EventArgs e)
Pls help.