Could not load type ‘System.ServiceModule.Activation.HttpModule’
By Lorren Zemke, Director of Professional ServicesFriday, June 3, 2016
When trying to access the SmartConnect Web Services, we are getting the error.
Could not load type ‘System.ServiceModel.Activation.HttpModule’ from assembly ‘System.ServiceModel, Version=18.104.22.168, Culture=neutral, PublicKeyToken=b77a5c561934e089’
This is typically due to multiple versions of the .NET Framework on the computer that is running IIS and IIS was installed after .NET Framework 4.0 or before the Service Model in Windows Communication Foundation was registered.
To resolve this error execute the following aspnet_regiis application on the IIS machine. C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe -iru
For Windows 8 you need to go to Windows Features and enable everything under “.NET Framework 3.5” and “.NET Framework 4.5 Advanced Services”.