PRB: Event ID 324 When You Call Interchange.Submit() with the Document Parameter (322391)



The information in this article applies to:

  • Microsoft BizTalk Server 2000
  • Microsoft BizTalk Server 2002

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
"{14C63CC2-B873-408B-B5F2-BBE7003FC4D9}", the parser component named 
"BizTalk.ParserXML.1" failed on the method "ProbeInterchangeFormat" with 
the error code "0xc0c01441". 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: "{8083D2F7-1CB7-46AA-948D-3132BC16FCA4}"

 [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("msxml2.domdocument")
xml.async = false
xml.load(inbounddocument)
documentforsubmission = xml.xml
gSubmissionGUID = Interchange.Submit(BIZTALK_OPENNESS_TYPE_NOTOPEN,xml) 
				

Modification Type:MajorLast Reviewed:6/4/2003
Keywords:kbprb KB322391