Sunday, December 21, 2008

Perfmon counter labels turned to numbers

While I executing a few troubleshooting steps in local dev environment, I opted to put some perfmon counters to monitor the performance of the code. Unfortunately all the perfmon counters turned to numbers instead of their subsequent labels.

Tried adding all .net by using following lodctr command (This command is responsible for updating all performance monitor counters and their explain texts)

lodctr C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\corperfmonsymbols.ini
lodctr C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_perf.ini


but no luck, not able to see the counters back.

Finally rebuilding the whole counters did the trick

lodctr /R

For those who are not able to succeed even after this command can try the following Microsoft Support article
How to manually rebuild Performance Counter Library values
Troubleshooting Performance Monitor Counter Problems

No comments: