Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

No Disassemble stage components can recognize the data

531 views
Skip to first unread message

syed

unread,
Jan 26, 2009, 8:29:01 AM1/26/09
to
Hello,

I am facing the below given error since long time, i had gone through lots
of blogs but did't have any help for the given error.

---------------------------------------------
Event Type: Error
Event Source: BizTalk Server 2006
Event Category: BizTalk Server 2006
Event ID: 5719
Date: 1/26/2009
Time: 11:15:24 AM
User: N/A
Computer: PDSBT02
Description:
There was a failure executing the receive pipeline:
"Microsoft.BizTalk.DefaultPipelines.XMLReceive,
Microsoft.BizTalk.DefaultPipelines, Version=3.0.1.0, Culture=neutral,
PublicKeyToken=31bf3856ad364e35" Source: "XML disassembler" Receive Port:
"RP_Deocder" URI: "FORMATNAME:DIRECT=OS:PDSBT02\DECQUEUE" Reason:
No Disassemble stage components can recognize the data.

For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
---------------------------------------------
used the below source code to write the XML message, i am getting the error
for both UTF8 and UTF16 encoding.

I also used the encoding declaration for testing purpose.

Any quick help would be appriciated.

************************************************************************************************************

UTF8Encoding unicode1 = new UTF8Encoding(true, true);

//Encoding unicode1 = Encoding.BigEndianUnicode;

string XmlizedString = null;
MemoryStream memoryStream = new MemoryStream ( );
XmlTextWriter objXMLWriter = new XmlTextWriter (memoryStream,unicode1 );

objXMLWriter.WriteStartDocument();
objXMLWriter.Formatting = Formatting.Indented;

objXMLWriter.WriteStartElement("OMRAH_GROUPS_OUT");
objXMLWriter.WriteAttributeString("REQUEST_ID","2158066320");
objXMLWriter.WriteAttributeString("REPLY_TO_MESSAGE_ID","2158066320");
objXMLWriter.WriteAttributeString("MOH_MUTAMER_GROUP","2158066320");
objXMLWriter.WriteAttributeString("ERROR_CODE","100");
objXMLWriter.WriteAttributeString("STATUS_CODE","1");
objXMLWriter.WriteEndElement();

objXMLWriter.WriteEndDocument();

objXMLWriter.Flush();
memoryStream.Seek(0, System.IO.SeekOrigin.Begin);

StreamReader StreamObj = new StreamReader(memoryStream);
XmlizedString = StreamObj.ReadToEnd();
StreamObj.Close();

long lTransNo = System.DateTime.Now.Ticks;
string strQueue ="";

GetConfigurationValue("encQueueName",ref strQueue);
MessageQueueTransaction objTrans = new MessageQueueTransaction();
objTrans.Begin();
SendResultMessageToQueue(lTransNo.ToString(),XmlizedString,objTrans,strQueue);
objTrans.Commit();

************************************************************************************************************

private bool SendResultMessageToQueue(string strLabel, string strBody,
MessageQueueTransaction objTrans,string QueueName)
{
bool bRet = true;

// Get Queue Name
try
{
// Create Message Queue Object
MessageQueue objMessageQueue = new MessageQueue();

//Set Queue Path
objMessageQueue.Path = QueueName;

// Creates Message
Message msg = new Message();

ActiveXMessageFormatter format = new ActiveXMessageFormatter();


format.Write(msg, strBody);

if (objTrans == null)
objMessageQueue.Send(msg, strLabel);
else
objMessageQueue.Send(msg, strLabel, objTrans);
}
catch(Exception exc)
{
bRet = false;
throw exc;
}
return bRet;

} // End of SendMessageToQueue Private Method

************************************************************************************************************

Thanks

syed

unread,
Jan 26, 2009, 8:29:01 AM1/26/09
to

Dan Rosanova

unread,
Jan 26, 2009, 10:54:55 AM1/26/09
to
Did you set the complete schema name (i.e. assembly, namespace,
version, etc) in the XML Disassembler properties?

Kind Regards,
-Dan

AK

unread,
Feb 2, 2009, 10:02:01 PM2/2/09
to
What receive pipeline component are you using. It seems you are sending a
message in a queue in ActiveX format. If you are using XMLReceive it wont
recognize the data, create a custom pipeline which would transform the data
in UTF8 before disassemble stage.

Thanks,
Ashish Kelo

Dan Rosanova

unread,
Feb 3, 2009, 10:09:46 AM2/3/09
to
Good call Ashish, I've run into that one myself. ActiveX format
doesn't put in a BOM and that's causing the issue for sure because it
also doesn't put in an xml declaration and is UTF-16. I used the
Pipeline Component Wizard http://www.codeplex.com/btsplcw to help me
make pipelines like this in the past.
Kind Regards,
-Dan
0 new messages