Loading ...

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

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

 /5
0 (0votes)

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=3.0.0.0, 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
indows\Microsoft.NET\Framework64\v4.0.30319

C:\Windows\Microsoft.NET\Framework64\v4.0.30319>aspnet_regiis.exe -iru
Start installing ASP.NET (4.0.30319).
...
Finished installing ASP.NET (4.0.30319).

Comments (no comments yet)

Top Posts