Neil Thompson

BizTalk | .NET | SQL |

  Home  |   Contact  |   Syndication    |   Login
  15 Posts | 20 Stories | 45 Comments | 55 Trackbacks

News

Article Categories

Archives

Post Categories

Fav BizTalk Blogs

Breaking News - July 29 2006 - Microsoft has released a supported hotfix for this issue but you must contact microsoft support services to obtain it.  The hotfix is supported but is not published on the support site because it has been classified as “confidential“. Refrence the KB article 918316  to obtain the fix

Applications that worked well under BTS 2004 may experience problems under BTS 2006 because of an apparent problem in the new SQL Adapter.   The error usually happens when you are expecting multiple rows/messages back from a SQL port.  The error looks something like the following.

Exception type: WrongBodyPartException
Source: Microsoft.XLANGs.BizTalk.Engine
Target Site: Void ReadMessageState(Microsoft.XLANGs.Core.Envelope, Microsoft.XLANGs.BaseTypes.XLANGMessage)
The following is a stack trace that identifies the location where the exception occured
   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXXlangStore.ReadMessageState(Envelope env, XLANGMessage msg)
   at Microsoft.BizTalk.XLANGs.BTXEngine.BTXPortBase.ReceiveMessage(Int32 iOperation, Envelope env, XLANGMessage msg, Correlation[] initCorrelations, Context cxt, Segment s)
at CB.MMAHH_File.Orchestrations.CBHHDownloadStore.segment2(StopConditions stopOn)
at Microsoft.XLANGs.Core.SegmentScheduler.RunASegment(Segment s, StopConditions stopCond, Exception& exp)

There is a hotfix being developed for this issue, but it is currently (as of time of writing) in pre-release and you have to contact microsoft for it. The KB number to reference is 918316 (Which does not seem to show on the MS Site yet). The file name is 273599_ENU_i386_zip.exe.

I would just give you a link but that might do more harm than good becuase the hotfix is not fully tested.  If you desperately need it and MS just can't seem to get it to you, contact me and I'll see what I can do for you.

posted on Friday, July 21, 2006 1:34 PM

Feedback

# re: BizTalk 2006 SQL Adapter problem 10/18/2006 5:41 AM George K
I think this may solve my problem, however i can't seem to get any info from microsoft. Any chance you could post the link or send it to me on georgejamesk@hotmail.com - basically when i use the SQL adapter to update multiple rows, i get an error message in the response saying it expected bodypart1 instead of bodypart3

# re: BizTalk 2006 SQL Adapter problem 10/18/2006 8:14 AM nsthompson
George, I try not to distribute these files directly b/c they might not be the latest version and I don't want to make things worse for anybody. Have you called the Microsoft Product Support for your country and referenced KB 918316? You may have to insist a little bit, for some reason they have not been forthcoming with this hotfix.



# re: BizTalk 2006 SQL Adapter problem 11/21/2006 3:48 AM Ola Hiselius
I reported the problem with "... expected bodypart1 instead of bodypart3" problem to Microsoft in April. I got the hotfix for article 918316 in May. The file for this hotfix was named 272024_ENU_i386_zip.exe. After a short while the article was removed from knowledgebase. I don't konw why. My friends hade the same problem. The hotfix solved our problem so I don't know why Microsoft is so secret about this fix!

# re: BizTalk 2006 SQL Adapter problem 11/21/2006 6:57 AM nsthompson
I agree that it is frustrating. I suppose we can only speculate why they would publish and then pull the hotfix.

Let's hope it's just an isolated incident.

# re: BizTalk 2006 SQL Adapter problem 6/19/2007 9:58 AM Lorenz Rohrmann
Hello,
I also have this problem, but Microsoft can't help me at the moment because this Patch is only available for English installations and we use a german one.
The dll instead seems to be "Language neutral", so I think it should work on our system to.
Could you send me the patched DLL Microsoft.biztalk.adapter.sql.dll to try it on a testing system?
Thanks and regards,
Lorenz

# re: BizTalk 2006 SQL Adapter problem 9/14/2007 7:11 PM Vijay
Hi,

Is there a workaround in BizTalk 2006 for this? I am using a looping functoid to pass on records directly to the SQL stored proc adaptor schema and ending up with the above error of wrong body part. Can I acheive the same by using a different BizTalk pattern which is quick to design i.e. without using custom code. I am thinking of defining envelop schema and input one record at a time to the SQL adaptor schema.

Please let me know if you guys have any better idea.

Thanks,
Vijay

# re: BizTalk 2006 SQL Adapter problem 2/14/2008 6:59 AM Suresh
Hi, Even I am facing the same problem. Could you please provide me a solution?

Thanks,
Suresh

Post A Comment
Title:
Name:
Email:
Website:
Comment:
Verification: