2011-01-08 228 views
1

我试图去与MS Dynamics CRM中2011年交手我也有安装在VM和事物的测试看起来不错 - 一些伟大的新功能等Dynamics CRM中2011 - WCF错误

不过我让试图连接到新的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中配置多个绑定,造成这在我的情况下,我确实有过,但问题在移除后仍然存在。

任何建议,将不胜感激。

回答

1

您是否尝试过与RC相同?

+0

我其次。虽然我在CTP或Beta版本中没有遇到过这种问题,但这可能只是RC中已解决的一个问题。 – TeaDrivenDev 2011-01-09 21:09:44