今天在我开始处理我的应用程序之前,我更新了我的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'值得尝试,但看起来不像是问题。 – Rup 2010-06-09 09:51:15
它好像我没有KB982168。我在哪里可以找到它?我无法在MS更新网站上找到它。 – 2010-06-09 10:04:05
即使在安装上述更新后,问题仍然存在 – 2010-06-09 10:37:52