ASP.NET 4.0 无法加载 System.ServiceModel.Activation.HttpModule
"Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'"
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 -iru
原因是先安装了.Net Framework 4 后安装IIS
声明:并非所有转载的文章之全部内容都代表本人观点。如果本人转载文章侵犯了原作者的著作权,请及时与本人联系,本人将在第一时间从本人博客中删除

浙公网安备 33010602011771号