今天在部署一个WCF服务的时候,获取运行出错如下:
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceMode
只要执行下面的操作,重新注册一下 asp.net 4.0:
C:/Windows/Microsoft.NET/Framework/v4.0.30319/aspnet_regiis.exe -iru
解决问题 !