Udostępnij za pośrednictwem


Asp.net performance counters not showing up

This was an interesting issue. While adding a counter, customer was not able to see ASP.NET related "performance objects" rather this was showing random numbers. Really surprising!

As we dig through event log, now things started to make sense. Here is the error from the Event log:

The Open Procedure for service "ASP.NET_4.0.30319" in DLL "C:\WINDOWS\system32\aspnet_counters.dll" failed. Performance data for this service will not be available. The Status code returned is the first DWORD in the attached data.

Solution:

-Ran the asp.net_regiis -i command for asp.net 2.0 and asp.net 4.0.
-Ran the command  lodctr aspnet_perf.ini
-Now we are able to see the asp.net counters both locally as well as remotely.