Microsoft KB Archive/322391

= PRB: Event ID 324 When You Call Interchange.Submit with the Document Parameter =

Article ID: 322391

Article Last Modified on 6/4/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Standard Edition
 * Microsoft BizTalk Server 2002 Standard Edition

-



This article was previously published under Q322391



SYMPTOMS
When you try to submit a document to BizTalk Server by using the Interchange.Submit method with the Document parameter, the following event is logged in the Application event log of your BizTalk Server:

Event Type: Error Event Source:  BizTalk Server Event Category: Document Processing Event ID:           324 Date:      7/10/2002 Time:      1:46:03 PM User:       N/A Computer:           BIZTALKSERVER

Description: An error occurred in BizTalk Server. Details: -- [0x1440] While trying to process document #0 during submission &quot;{14C63CC2-B873-408B-B5F2-BBE7003FC4D9}&quot;, the parser component named &quot;BizTalk.ParserXML.1&quot; failed on the method &quot;ProbeInterchangeFormat&quot; with the error code &quot;0xc0c01441&quot;. Possible causes are: the component found unexpected data in the incoming stream; a document specification could not be found given the data; or an internal component failure occurred. If this problem continues, remove this component from the valid list of parser components or contact your system administrator.

[0x1730] Suspended Queue ID: &quot;{8083D2F7-1CB7-46AA-948D-3132BC16FCA4}&quot;

[0x0147] The business document that was passed in is not in a recognized format and could not be parsed or decrypted.



CAUSE
This problem can occur when you call the Interchange.Submit method by using the Document parameter if the document that you are submitting is not in the UTF-16 format. UTF-16 format is Unicode in 16-bit values.



RESOLUTION
To work around this problem, use the Load method of the XMLDOMDocument class to read the data in, and then access the XML property of the XMLDOMDocument class to retrieve the data. The data that is retrieved by using the XML property of the XMLDOMDocument object is in the UTF-16 format.

Alternatively, you can specify the Filepath parameter for the Interchange.Submit method call instead of the Document parameter. This causes BizTalk Server to load the file from the designated, fully qualified path into memory in the UTF-16 format.



STATUS
This behavior is by design.



MORE INFORMATION
The following sample code demonstrates how to load an inbound document into the XML Document Object Model (DOM) to convert it to UTF-16 format and how to submit the resultant document instance: set xml = CreateObject(&quot;msxml2.domdocument&quot;) xml.async = false xml.load(inbounddocument) documentforsubmission = xml.xml gSubmissionGUID = Interchange.Submit(BIZTALK_OPENNESS_TYPE_NOTOPEN,xml)

Keywords: kbprb KB322391

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.