我正在尝试掌握 MS Dynamics CRM 2011。我已经在 VM 上安装了 beta 版,看起来还不错——一些很棒的新功能等。
但是,在尝试连接到新的 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 中配置的多个绑定引起的,在我的情况下我确实有,但即使删除它们后问题仍然存在。
任何建议,将不胜感激。