Back

Could not load type ‘System.ServiceModule.Activation.HttpModule’

Published: Jun 03, 2016
Post Author Written by eOne Solutions

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”.

Feeling stuck? Get the support and guidance you need to help you power through any data challenge

We're on your integration team. Connect with our people and let us know how we can help you.