Microsoft Knowledge Base Email Alertz

(840187) - Describes a problem that occurs when you try to process an XML document that is larger than 4 GB. BizTalk Server 2004 creates an integer overflow exception in the application log of the BizTalk Server computer.

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 840187 - Last Review: May 18, 2007 - Revision: 2.4

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

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:
http://msdn2.microsoft.com/en-us/library/aa302289.aspx (http://msdn2.microsoft.com/en-us/library/aa302289.aspx)

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
Keywords: 
kbbtsrules kbnofix kbbug KB840187
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate