gpt4 book ai didi

安装 WindowsXP 更新后 WCF 服务出现错误

转载 作者:行者123 更新时间:2023-12-03 03:55:29 25 4
gpt4 key购买 nike

问候,

今天,在开始开发应用程序之前,我更新了 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">

我的同事尝试在更新之前运行相同的服务,并且运行良好。安装更新后他也遇到同样的问题。有人可以帮我吗?

最佳答案

到目前为止,问题确实似乎来自更新 KB982168,并且仅出现在 2003 年的服务器上。 Microsoft 支持人员怀疑 HttpTransportSecurity 构造函数中存在尝试实例化 ExtendedProtectionPolicy 对象的错误,但 2003 服务器(或 XP 计算机)上的 system.dll 中不存在此类(您可以使用 Reflector 检查)。它确实存在于 2008 或 Vista 及更高版本的 DLL 中。如果问题得到证实,我想很快就会发布修复程序。同时建议不要安装更新。我会随时通知您。

关于安装 WindowsXP 更新后 WCF 服务出现错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3004299/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com