zoukankan      html  css  js  c++  java
  • Win7搞笑WCF

    今儿为ASP.NET MVC添加服务引用,本机一切顺利,可到了同事的机器上就报错:

    无法识别的元素“extendedProtectionPolicy”。

    faint!这是啥玩意,没见过?可明明我的机器上没什么问题啊。还好信google得永生,找到官方WCF组的相关解释如下:

    Thank you for contacting us with your question.
    Windows 7 has an additional security feature called Extended Protection. When you create an app.config for a client from the Windows 7 service, the tag "extendedProtectionPolicy" will be present in the app.config. When deploying the client to versions of Windows prior to Windows 7, this tag will not be valid. This is a known issue. This tag is not actually used by the client, so simply remove the tag. We will try to update future versions of .Net 3.5 to not include this tag in the generated app.config.
    Thanks,
    WCF Team

    Microsoft 在 2009/7/16 10:11 发送

    真是让人啼笑皆非!

    image

    删除如上图所示节点后世界便安静了。

  • 相关阅读:
    Manacher-模版题poj3974 hdu3068
    拓展kmp(带注释版)
    颓の第17周
    php 递归遍历目录带缩进
    php 递归遍历目录
    php session
    apache主机配置
    php环境配置的检测方法
    php 变量
    php MVC
  • 原文地址:https://www.cnblogs.com/024hi/p/1553006.html
Copyright © 2011-2022 走看看