Asp.net performance counters not showing up
Published Nov 16 2018 06:56 AM 1,661 Views
Microsoft
First published on MSDN on Jan 16, 2014

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.


Version history
Last update:
‎Nov 16 2018 06:56 AM
Updated by: