While working with one of my WCF project I was getting the following error:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=220.127.116.11, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
After struggling few minutes I came to know that there was some issue with my ASP.NET framework. To fix the above issue I went to command prompt and reinstalled my ASP.NET framework. Following is the script for it:
C:\Windows\Microsoft.NET\Framework\v3.0\Windows Communication Foundation>cd C:\W
Start installing ASP.NET (4.0.30319).
Finished installing ASP.NET (4.0.30319).