background image

 

PHP 实例:Could not load type 

System.ServiceModel.Activation.HttpModule 解决

办法

本文章来详细介绍关于 Could not load type System.ServiceModel.Activation.HttpModule from 
assembly System.ServiceModel 解决办法,
Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 
'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.] 
 
上网搜了下,问题产生的原因是在安装了 IIS 后又装了其他版本的 framework, 导致
assemble

 

中的版本和程序使用的版本不一致了。解决办法是使用

 
aspnet_regiis.exe -iru 重新注册 iis