解决: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
asp.net

 

转自:https://blog.csdn.net/ltr15036900300/article/details/48973717.net