我试图与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中配置的多个绑定引起的,在我的情况下,我确实有,但是即使在删除它们之后,问题仍然存在。

任何建议,将不胜感激。

有帮助吗?

解决方案

您是否对RC尝试过同样的尝试?

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top