Getting the following error while launching the AdminConsole:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, ......
If IIS is enabled after .NET 4 installation then ASP.NET is not registered with IIS. Users will encounter the following error when the site being targeted is ASP.NET 4:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0,
To resolve this issue, run the following from elevated command from a command prompt line to register ASP.NET 4:
aspnet_regiis.exe /iru
The aspnet_regiis.exe file can be found in either:
Restart IIS using the command c:\iisreset /restart