解决: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
转自:https://blog.csdn.net/ltr15036900300/article/details/48973717
本文解决了一个发布项目时遇到的问题:系统无法从System.ServiceModel.Activation加载HttpModule类型。通过使用aspnet_regiis.exe工具重新注册ASP.NET 4.0,成功解决了该问题。

1356

被折叠的 条评论
为什么被折叠?



