未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.ServiceModel.Activation.HttpModule”。

解决方案 »

  1.   

    IIS-你的网站-属性-ASP.NET版本 设置有问题
      

  2.   

    是不是没有添加引用System.ServiceModel
      

  3.   

    报错的原因是:先安装了.Net Framework 4 后安装IIS ,
    解决办法:
    "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
      

  4.   

    错误摘要
    HTTP 错误 500.19 - Internal Server Error
    无法访问请求的页面,因为该页的相关配置数据无效。 详细错误信息模块 IIS Web Core 
    通知 未知 
    处理程序 尚未确定 
    错误代码 0x800700b7 
    配置错误 定义了重复的“system.web.extensions/scripting/scriptResourceHandler”节  
    配置文件 \\?\E:\VS2010\FaBuWebService\web.config 
    请求的 URL http://111.34.134.211:80/ 
    物理路径  
    登录方法 尚未确定 
    登录用户 尚未确定 
     配置源
        9:  <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
       10:  <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/>
       11:  <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">