IIS 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral,

在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误:

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

原因:

这是因为先安装了 .NET Framework 4,随后启用了 .NET Framework 3.5 WCF HTTP 激活,则会发生此错误。

解决办法:

微软官方对该问题也作了解答:http://msdn.microsoft.com/zh-cn/library/aa751852.aspx

只需要已管理员用户在cmd中运行aspnet_regiis.exe -i -enable即可。

时间: 2024-08-29 04:19:52

IIS 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral,的相关文章

[bug]未能从程序集“System.ServiceModel, Version=3.0.0.0问题解决

在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误: 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.ServiceModel.Activation.HttpModule”. 原因: 这是因为先安装了 .NET Framework 4,随后启用了 .NET Framework

未能从程序集“System.ServiceModel, Version=3.0.0.0问题解决

在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误: 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.ServiceModel.Activation.HttpModule”.  原因: 这是因为先安装了 .NET Framework 4,随后启用了 .NET Framework

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

“/”应用程序中的服务器错误. 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载类型“System.ServiceModel.Activation.HttpModule”. 说明: 执行当前 Web 请求期间,出现未经处理的异常.请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息. 异常详细信息: System.TypeLoadEx

未能从程序集System.ServiceModel, Version=3.0.0.0问题解决

这个问题应该是我在windows8中使用iis8时候碰到的,iis8默认的.net版本是4.5,可能是后来用wcf的时候开启了 .NET Framework 3.5 WCF HTTP 激活,则会发生此错误.具体也没深究,网上解决办法还是很多的,微软的官方也有说明 http://msdn.microsoft.com/zh-cn/library/aa751852.aspx 如下图所示: 上面的或许你可以解决问题,如还是不能解决问题,出现下面的错误,当然我的版本是一定会出错的 此 Windows 版本

未能从程序集“System.ServiceModel, Version=3.0.0.0”中加载类型“System.ServiceModel.Activation.HttpModule” 的解决办法

错误消息: 未能从程序集“System.ServiceModel, Version=3.0.0.0”中加载类型“System.ServiceModel.Activation.HttpModule” 的解决办法 解决办法: 1, 若要解决该问题,请在 Visual Studio 2010 命令提示符下运行下面的命令行: aspnet_regiis.exe -i -enable 如果出现以下错误的时候我们就用方法2.. PM> aspnet_regiis.exe -i -enable无法将“aspn

解决 未能从程序集“System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089”中加载

先安装了 IIS ,再安装了 .net framework4.0 ,这样一来就要在cmd下注册.net framework4.0 步骤 第一步:修改配置文件 %windir%/system32/inetsrv/config/applicationHost <add name="ServiceModel" type="System.ServiceModel.Activation.HttpModule, System.ServiceModel, Version=3.0.0.

未能从程序集“System.ServiceModel, Version=3.0.0.0问题解决(转载)

原因: 这是因为先安装了 .NET Framework 4,随后启用了 .NET Framework 3.5 WCF HTTP 激活,则会发生此错误. 解决办法: 微软官方对该问题也作了解答:http://msdn.microsoft.com/zh-cn/library/aa751852.aspx 只需要已管理员用户在cmd中运行aspnet_regiis.exe -i -enable即可. 个人验证:管理员用户在cmd 在C:\WINDOWS\Microsoft.NET\Framework\v

未能从程序集“System.ServiceModel”中加载类型“System.ServiceModel.Activation.HttpModule”。

在Windows Server 2008中的IIS服务器中部署WCF服务程序时,通过浏览器访问报出如下错误: 未能从程序集"System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"中加载类型"System.ServiceModel.Activation.HttpModule". 原因: 这是因为先安装了 .NET Framework 4,随后启用了

Could not load type &#39;System.ServiceModel.Activation.HttpModule&#39; from assembly &#39;System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089&#39;

Could not load type 'System.ServiceModel.Activation.HttpModule' from assembly 'System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' 问题描述: 再windows server 2008 r2 环境下搭建.net网站 ,运行是IIS7.0提示以上问题 解决方案: 这里需要注册一下ASP.NET 4.