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=3.0.0.0, 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:WINDOWSMicrosoft.NETFrameworkv4.0.30319aspnet_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”.