Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly

It is quite often that developer encounter the following error when creating WCF application in IIS 7.

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.


Resolution : goto your Microsoft.NET Framework folder and run aspnet_regiis /iru

The switch /iru - Reinstall this version of ASP.Net without forcing existing application to use this version.

More information from this link.

Comments

Popular posts from this blog

ionic2 cordova build android - Unable resolve gradle 2.2.3

OpenCover code coverage for .Net Core

Using Custom DLL with IronPython / Scripts