Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Some performance counters shows wrong values after installing .net 4.5

after installing .NET 4.5 on a Windows Web Server 2008 R2, some performance counters shows the wrong values. I'm using the built in Performance Monitor and looking at the group ASP.NET Apps v4.0.30319 for counters Anonymous Requests/Sec and Requests Executing.

Before those values reflected the current load with fluctuating values, but now they instead increases for each request, so they behave more like Total Requests and Total Requests Executing.

We have seen the same behavior in a production environment and also on internal servers.

Have any of you seen the same behavior, I can find anything when googling for it.

Regards Patrik

like image 559
Patrik Avatar asked Sep 26 '12 09:09

Patrik


2 Answers

Fix for this issue is available now. http://support.microsoft.com/kb/2805227 for windows8 and http://support.microsoft.com/kb/2805226 for windows 7 platform. So below workaround is no longer required.

The workaround for this issue is to execute below commands from 4.5 installed directory, (e.g. “%systemroot%\Microsoft.Net\Framework64\v4.0.30319”)

  1. aspnet_regiis -u

  2. aspnet_regiis -I or aspnet_regiis -iru

like image 59
Anand Avatar answered Sep 28 '22 07:09

Anand


One thing that comes to mind is permissions on this registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\version of ASP.NET\Names 

I'd start off by checking those and ensuring they're correct. If you have multiple versions you can even cross-check/compare the settings (ie if 2.0 still works fine)..

like image 30
Radomir Zaric Avatar answered Sep 28 '22 07:09

Radomir Zaric