PerformanceCounter perfcounter =
new PerformanceCounter("W3SVC_W3WP", "Total HTTP Requests Served");
and it would cause the following error:
Error: System.InvalidOperationException -> Category does not exist.
We can see those categories in perfmon locally and they are enabled. Both
64-bit and 32-bit Windows 2008 Server have the same issue. We have searched
online for solution, but haven't found any applicable one yet. Any