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

The specified initialization vector (IV) does not match the block size for this algorithm