Could Not Load Type ‘System.ServiceModel.Activation.HttpModule’
2010-09-09 17:01
459 查看
When attempting to run a service that receives messages over the HTTP transport, you may receive an error similar to the following:
Server Error in '/WCFApplication' Application
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Description: An unhandled exception occurred during the execution of the current Web request. Review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.TypeLoadException: 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
相关文章推荐
- Could not load type System.ServiceModel.Activation.HttpModule解决办法
- Solve IIS 8 Error: Could not load type ‘System.ServiceModel.Activation.HttpModule’
- 解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assemb
- Exception: Could Not Load Type ‘System.ServiceModel.Activation.HttpModule’
- IIS8排错:Could not load type ‘System.ServiceModel.Activation.HttpModule’
- win8 iis8 发布wcf服务,诡异的Could not load type System.ServiceModel.Activation.HttpModule
- WCF:Could Not Load Type ‘System.ServiceModel.Activation.HttpModule’
- Solve IIS 8 Error: Could not load type ‘System.ServiceModel.Activation.HttpModule’
- Could not load type System.ServiceModel.Activation.HttpModule解决办法
- Could not load type ‘System.ServiceModel.Activation.HttpModule’ from&
- Could not load type System.ServiceModel.Activation.HttpModule解决办法
- 解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceMode
- Could not load type System.ServiceModel.Activation.HttpModule解决办法
- Could not load type ‘System.ServiceModel.Activation.HttpModule’ from&
- win8 Could not load type System.ServiceModel.Activation.HttpModule 错误解决方案
- Resolve error: Could Not Load Type ‘System.ServiceModel.Activation.HttpModule’
- 解决:Could not load type 'System.ServiceModel.Activation.HttpModule' from assemb
- System.TypeLoadException for System.ServiceModel.Activation.HttpModule in ASP.NET 4
- 未能从程序集“System.ServiceModel, Version=3.0.0.0”中加载类型“System.ServiceModel.Activation.HttpModule” 的解决办法
- 未能从程序集“System.ServiceModel”中加载类型“System.ServiceModel.Activation.HttpModule”。