【发布时间】:2011-03-01 13:32:13
【问题描述】:
你好,
今天在我开始开发我的应用程序之前,我更新了我的 WinXP。安装完所有更新后,我的 WCF 服务停止工作。当我尝试在浏览器中打开 service.svc 文件时出现以下错误:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: An error occurred creating the configuration section handler for system.serviceModel/bindings: Could not load type 'System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement' from assembly 'System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
Source Error:
Line 131: </behaviors>
Line 132:
Line 133: <bindings>
Line 134: <wsHttpBinding>
Line 135: <binding name="MyWSHttpBinding" maxReceivedMessageSize="2147483647">
我的同事尝试在更新之前运行相同的服务,并且运行良好。安装更新后他也有同样的问题。有人可以帮帮我吗?
【问题讨论】:
-
我无法重现,抱歉 - WCF 3.5 和 4 .svcs 在升级后对我来说都很好,无需重新编译:-/ 听起来您正在运行 3.5,并且您现在有两个程序集不同步:有两个 .NET 3.5SP1 更新,KB982168 和 KB979909 - 你确定都安装了吗?如果做不到这一点,我就没有什么好主意了 - 通常的
ServiceModelReg -i值得一试,但这看起来不是问题。 -
我好像没有 KB982168。我在哪里可以找到它?我在 MS 更新网站上找不到它。
-
即使安装了上述更新后问题仍然存在
-
@niao :-( 那时我会联系微软支持。鉴于很多人都有这个问题,我认为这是一个错误和不收费的事件(我对 Silverlight SDK 问题做了同样的事情)。与此同时,我认为值得回滚 KB979909 以查看是否可以为您解决此问题,但我不确定还有什么建议。
-
谢谢。我已经回滚了这个更新,我可以再次工作。但显然这个问题必须解决。
标签: wcf windows-update