无法识别的元素“extendedProtectionPolicy” win7 windows2003 silverlight app.config ServiceReferences.ClientConfig

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

无法识别的元素“extendedProtectionPolicy”。

找到官方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 发送

这个问题同样存在于silverlight的ServiceReferences.ClientConfig文件,现象是无法更新wcf配置

你可能感兴趣的:(windows,Security,Microsoft,asp.net,silverlight,WCF)