您的位置:首页 > 编程语言 > ASP

CMD命令重新注册 asp.net 4.0

2016-03-17 15:38 633 查看
解决: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
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  assembly IIS 部署