【问题标题】:Dynamics CRM 2011 - WCF error动态 CRM 2011 - WCF 错误
【发布时间】:2011-06-05 18:11:21
【问题描述】:

我正在尝试使用 MS Dynamics CRM 2011。我已经在虚拟机上安装了测试版,看起来还不错 - 一些很棒的新功能等等。

但是,当我尝试连接到新的 XRMServices(更新的 2011 WCF Web 服务)时出现异常

 Exception: System.ServiceModel.ServiceActivationException: The service    
 '/organame/XRMServices/2011/Organization.svc' cannot be activated due to an
 exception during compilation.  The exception message is:
 'System.ServiceModel.Description.UseRequestHeadersForMetadataAddressBehavior'. 
 This collection only supports one instance of each type.
 Parameter name: item. ---> System.ArgumentException: The value could not be added to
 the collection, as the collection already contains an item of the same type: 
 'System.ServiceModel.Description.UseRequestHeadersForMetadataAddressBehavior'. 
 This collection only supports one instance of each type.
 Parameter name: item

我发现的对这个异常的唯一引用表明它是由 IIS 中配置的多个绑定引起的,在我的情况下我确实有,但即使删除它们后问题仍然存在。

任何建议将不胜感激。

【问题讨论】:

    标签: wcf dynamics-crm dynamics-crm-2011


    【解决方案1】:

    你用 RC 也试过了吗?

    【讨论】:

    • 我同意这一点。虽然我在 CTP 或 Beta 版本中没有遇到任何此类问题,但这可能只是 RC 中已解决的问题。
    • 谢谢 - 我会尝试升级,看看是否能解决问题。
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2015-07-16
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-24
    • 1970-01-01
    相关资源
    最近更新 更多