BUG: The BizTalkConfig Object Returns an "Out of Memory" Error (309826)



The information in this article applies to:

  • Microsoft BizTalk Server 2000
  • Microsoft BizTalk Server 2000 SP1a

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("BizTalk.BizTalkConfig")
 Set chan = BT.Createchannel
 Set rschan = BT.Channels
 While Not rschan.EOF
 chan.Load (rschan("id"))
 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 "Out of memory" 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.

Modification Type:MajorLast Reviewed:10/2/2003
Keywords:kbbug kbnofix KB309826