SQL Adapter – Insert/Update multiple records via Stored Proc

Home Page Forums BizTalk 2004 – BizTalk 2010 SQL Adapter – Insert/Update multiple records via Stored Proc

Viewing 1 reply thread
  • Author
    Posts
    • #15455

      I am trying to use the SQL Adapter in BizTalk 2006 to execute a stored procedure that inserts multiple records into a SQL table.

      The Response Recv message has been set to the multi-part message type that the adapter wizard created automatically.
      However, the orchestration errors out with WrongBodyPart Exceptions

      If the procedure inserts 2 records, here’s the error message:
      Message_ResCSTRNInsertSQLSP’ has body part ‘BodyPart2’, expected body part ‘BodyPart1’.

      Exception type: WrongBodyPartException

      If the procedure 10 records, here’s the error message:
      Message_ResCSTRNInsertSQLSP’ has body part ‘BodyPart10’, expected body part ‘BodyPart1’.

      Exception type: WrongBodyPartException

      Everything works fine if the procedure processes 1 record.

      Please help.

      Thanks
      Sridevi

    • #15456

      I ran into this as well. There is a hotfix for the SQL adapter (KB 918316)that corrects this problem.

      Regards

      Tom

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