Microsoft KB Archive/840187

= You receive an integer overflow exception when you process large XML documents in BizTalk Server 2004 =

Article ID: 840187

Article Last Modified on 5/18/2007

-

APPLIES TO


 * Microsoft BizTalk Server 2004 Developer Edition
 * Microsoft BizTalk Server 2004 Enterprise Edition
 * Microsoft BizTalk Server 2004 Partner Edition
 * Microsoft BizTalk Server 2004 Standard Edition
 * Microsoft .NET Framework 1.1

-





SYMPTOMS
When you try to process an XML document that is larger than 2 GB with Microsoft BizTalk Server 2004, the XML document is processed, and you may receive an error in the application log of the BizTalk Server 2004 computer. The error message indicates that an integer overflow exception occurred.



CAUSE
This problem may occur when you receive an XML document that is larger than 2 GB in BizTalk Server 2004, and you receive the document with the XMLReceive pipeline. BizTalk Server 2004 uses the System.XML class in the Microsoft .NET Framework to validate XML documents, and the System.XML class has a maximum document size of 2 GB.



STATUS
Microsoft has confirmed that this is a problem in the .NET Framework 1.1.



WORKAROUND
To work around this problem, use one of the following methods:
 * Separate your XML document that is larger than 2 GB into pieces that are smaller than 2 GB.
 * Receive the document in BizTalk Server by using the Microsoft.BizTalk.DefaultPipelines.PassThruReceive pipeline.

