Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

This article was previously published under Q322391

↑ Back to the top


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.
					

↑ Back to the top


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.

↑ Back to the top


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.

↑ Back to the top


Status

This behavior is by design.

↑ Back to the top


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) 
				

↑ Back to the top


Keywords: KB322391, kbprb

↑ Back to the top

Article Info
Article ID : 322391
Revision : 3
Created on : 6/4/2003
Published on : 6/4/2003
Exists online : False
Views : 459