none
CRM Adatper - Item has already been added. Key in dictionary RRS feed

  • Question

  • Hello All,

    We are trying to send CRM entities through BizTalk CRM adapter. Sometimes orchestration gets the following SOAP fault. I know that if we try to add same key into .net dictonary object, we get this error. But I'm not doing it. Either it is done by adapter or web service. I looked at CRM trace of the web service, I don't see this error in the log, so I assume this must be done by adapter itself.
    And also I get the same error for other elments like "Item has already been added. Key in dictionary: 'targetupdateworkflowlog'", "'objectiverelation'  Key being added: 'objectiverelation' " or "'keyproperty'  Key being added: 'keyproperty'". 
    There is no fixed list of keys I get, every time it is a different key.
    But if I send the same entity alone, it flows through, no errors.
     
    Did anybody got this error or any help is appreciated.

    <SOAP:Envelope
    xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
    <SOAP:Body>
    <SOAP:Fault>
    <faultcode>Microsoft BizTalk Server Negative Acknowledgment </faultcode>
    <faultstring>An error occurred while processing the message, refer to the details section for more information </faultstring>
    <faultactor>http://xxxx.yyyyy.COM</faultactor>
    <detail><ns0:NACK Type="NACK" xmlns:ns0="<NAckID>{FDD4B685-1E4F-4BB2-9E50-66BE30EAE8FF}</NAckID">http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd"><NAckID>{FDD4B685-1E4F-4BB2-9E50-66BE30EAE8FF}</NAckID>
    <ErrorCode>0xc0c0167a</ErrorCode><ErrorCategory>0</ErrorCategory>
    <ErrorDescription>Item has already been added. Key in dictionary: 'correlationtoken'  Key being added: 'correlationtoken'</ErrorDescription>
    </ns0:NACK>
    </detail>
    </SOAP:Fault>
    </SOAP:Body>
    </SOAP:Envelope>

    Thanks
    Bhava


    • Edited by Bhava Monday, August 27, 2012 6:58 PM
    Wednesday, February 16, 2011 2:01 AM