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



The information in this article 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.

REFERENCES

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

Modification Type:MinorLast Reviewed:5/18/2004
Keywords:kbBTSRules kbnofix kbBug KB840187 kbAudDeveloper kbAudITPRO