We upgrade our Windows server from Framework v2 to v4, and from iis 6 to iis 8.5. Some sites still use the same framework v2, but one of them get this kind of error :
HTTP Error 500.21 - Internal Server ErrorHandler "handlers/exchange.axd_" has a bad module "ManagedPipelineHandler" in its module list *
This was working in the old server. Now we have Windows 2012 R2
in web.config :
If I run this %windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i I am afraid to change the framework for other sites.
Is there a way to specify the framework in Web.config or IIS ? How could solve this 500 error ? any ideas ?
We changed the framework for this site from .NET CLR V.2.05.xxxxx Classic to .Net CLR v4.0.21006 Integrated on IIS.
I imagine that preCondition=IntegratedMode works too, I didn't tested.
Thanks