Error with fetching data from CRM 3.0 Adapter in Biztalk 2006

Home Page Forums BizTalk 2004 – BizTalk 2010 Error with fetching data from CRM 3.0 Adapter in Biztalk 2006

Viewing 1 reply thread
  • Author
    Posts
    • #18782

      Hi All,

      I have a problem with the CRM 3.0 Adapter for Biztalk 2006. I’m using
      the message ExecuteFetch_ExecuteFetchRequest.xsd

       In Expression shape i am constructing message. The message I’m sending to the adapter is:

      fetchxml = @”<fetch mapping=’logical’><entity name=’account’><attribute name=’accountid’/><filter type=’and’><condition attribute=’name’ operator=’eq’ value=’1234’/></filter></entity></fetch>”;

      recemsg = inxml;

      crexecution = “execute”;

      xmldocument = new System.Xml.XmlDocument();

      xmldocument.LoadXml(“<ns0:ExecuteFetchRequest xmlns:ns0=’http://fetchaccIDMESS.ExecuteFetch_ExecuteFetchRequest’><crm_action>”+ crexecution +”</crm_action><FetchXml>”+ fetchxml +”</FetchXml></ns0:ExecuteFetchRequest>”);

      latestout = xmldocument;

      The message is sent to
      CRM,but I’m receiving an error in the eventlog and the Biztalk HAT:

      Error Info: Value cannot be null.
      Parameter name: Entity metadata received is null. 

      In biztalk admin i am get this error :

       

      Uncaught exception (see the ‘inner exception’ below) has suspended an instance of service ‘fetchaccIDMESS.Orchestration_1(d3c43a52-4cea-73f2-8054-75851469ec88)’.
      The service instance will remain suspended until administratively resumed or terminated.
      If resumed the instance will continue from its last persisted state and may re-throw the same unexpected exception.
      InstanceId: 696691d3-347a-4279-9396-50bf136f6baf
      Shape name:
      ShapeId:
      Exception thrown from: segment -1, progress -1
      Inner exception: An error occurred while processing the message, refer to the details section for more information
      Message ID: {603AD246-5FDA-4926-A46D-DD07489D6608}
      Instance ID: {16A77787-3398-4F90-951F-3D91D94D848F}
      Error Description: Value cannot be null.
      Parameter name: Entity metadata received is null.

             
      Exception type: XlangSoapException
      Source: Microsoft.XLANGs.BizTalk.Engine
      Target Site: Void VerifyTransport(Microsoft.XLANGs.Core.Envelope, Int32, Microsoft.XLANGs.Core.Context)
      The following is a st

       

      I tried other objects (e.g. contact), but I get the same error message.

      Do you have any suggestion?

      Thanks in advance, 

       

       

       

    • #20620

      Hi

       have you ever resolve this problem?

Viewing 1 reply thread
  • The forum ‘BizTalk 2004 – BizTalk 2010’ is closed to new topics and replies.