Microsoft KB Archive/309826

= BUG: The BizTalkConfig Object Returns an &quot;Out of Memory&quot; Error =

Article ID: 309826

Article Last Modified on 10/2/2003

-

APPLIES TO


 * Microsoft BizTalk Server 2000 Standard Edition
 * Microsoft BizTalk Server 2000 Service Pack 1a

-



This article was previously published under Q309826



SYMPTOMS
BizTalk provides the BizTalk.BizTalkConfig object for user programs to access and update BizTalk Management Objects such as Channels, Ports, Organizations, and so forth. When you have a large number of channels (such as 3000) and you try to use a loop to update all of these channels with a script such as the following Script:

Set BT = CreateObject(&quot;BizTalk.BizTalkConfig&quot;) Set chan = BT.Createchannel Set rschan = BT.Channels While Not rschan.EOF chan.Load (rschan(&quot;id&quot;)) chan.MapReference = chan.MapReference chan.Save Wend the following error message is displayed:

Error Number: -2147024882

Error Description: Ran out of memory

NOTE: You receive the same &quot;Out of memory&quot; error if you use a program that is written with Microsoft Visual Basic or Microsoft Visual C++ to access BizTalk.BizTalkConfig in this type of situation.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbnofix KB309826

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.