ASP.NET 4.0 无法加载 System.ServiceModel.Activation.HttpModule

 2023-09-10 阅读 16 评论 0

摘要:http://crazythief.com/KB/0742898b-32ec-4e6f-b9af-f1409104f70e "Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e08

http://crazythief.com/KB/0742898b-32ec-4e6f-b9af-f1409104f70e

"Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'"

出现这个错误的原因是:先安装了.Net Framework 4 后安装IIS 。

This error can occur when IIS is installed after installing .NET Framework 4, or if the 3.0 version of the WCF Http Activation module is installed after installing IIS and .NET Framework 4.

To resolve this problem, you must use the ASP.NET IIS Registration Tool (Aspnet_regiis.exe,) to register the correct version of ASP.NET. This can be accomplished by using the –iru parameters when running aspnet_regiis.exe as follows:

无法加载插件什么意思?aspnet_regiis.exe的路径如下所示:

C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_regiis.exe

aspnet_regiis.exe -iru

image

  

http://www.asp.net/mvc/tutorials/using-asp-net-mvc-with-different-versions-of-iis-cs

无法加载用户配置文件怎么办,转载于:https://www.cnblogs.com/justinzhang/archive/2011/07/26/2117086.html

版权声明:本站所有资料均为网友推荐收集整理而来,仅供学习和研究交流使用。

原文链接:https://hbdhgg.com/4/34617.html

发表评论:

本站为非赢利网站,部分文章来源或改编自互联网及其他公众平台,主要目的在于分享信息,版权归原作者所有,内容仅供读者参考,如有侵权请联系我们删除!

Copyright © 2022 匯編語言學習筆記 Inc. 保留所有权利。

底部版权信息