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.

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


View products that this article applies to.

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.

↑ Back to the top


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.

↑ Back to the top


Status

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

↑ Back to the top


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.

↑ Back to the top


References

For more information about modifying large XML documents, visit the following MIcrosoft Web site:

↑ Back to the top


Keywords: KB840187, kbbug, kbnofix, kbbtsrules

↑ Back to the top

Article Info
Article ID : 840187
Revision : 6
Created on : 5/18/2007
Published on : 5/18/2007
Exists online : False
Views : 459