解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assemb

解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceMode

今天我发布项目,获取运行出错如下:

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

解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceMode

今天我发布项目,获取运行出错如下:

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

 

posted @ 2014-11-13 19:45  玻璃鱼儿  阅读(6149)  评论(1编辑  收藏  举报