解决: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

你可能感兴趣的:(IIS)