Pages

Direct Msg. Box Binding – Filter Expression Oddities

Friday, July 29, 2011
While working with direct Message Box binding I became stumped with the following error:error X2186: identifier ‘VALIDATION_COMPLETE’ does not exist in ‘TrackOrderMessage’; are you missing an assembly reference?error X2007: cannot find symbol ‘VALIDATION_COMPLETE’error X2163: an ‘activate’ predicate rvalue must be a string, character, boolean or numeric literalerror X2104: illegal ‘activate’ predicateThe resulting fix? wrap...
Read more ...

use of unconstructed message error in Construct Message in Orchestration Biztalk

Monday, July 25, 2011
Q: I have a message in my orchestration of type MessageEnvelope (a simple schema in my project) I have a simple orchestration with a construct message shape.  This construct message constructs this message. Inside this shape is a Message Assignment shape which contains the following code: messageEnvelope.Action = ""; messageEnvelope.MsgType = "Test"; messageEnvelope.SystemID = "System A"; messageEnvelope.BodyXML = "Some...
Read more ...

BIZTALK Use of Un-constructed Message in MultiPart Message

Monday, July 25, 2011
Sometimes when we try to build or deploy BizTalk solution, you may get the following error message:Use of Un-constructed MessageI get this error when I try to construct a multi-part message for sending email with body and attachment. SOLUTION – Check if you have a reference to the message before its initialize, for example:myMessage.Body(Microsoft.XLANGs.BaseTypes.ContentType) = "text/plain"; myMessage.Body = new …;Correct...
Read more ...

There is an error in XML document (1, 1) Strings are UTF-16

Tuesday, July 19, 2011
I had a situation today where an xml document had a directive indicating it was utf-8.  So, the code in question was reading in the “string” of that xml then attempting to de-serialize it using an Xsd generated type. What you end up with is an exception indicating that there’s an error in the Xml document at (1,1) or something to that effect. The fix is, run it through a memory stream – which reads the string, but at utf8...
Read more ...