Microsoft KB Archive/294436

= OL2002: Error When You Programmatically Add Members to DistListItem =

Article ID: 294436

Article Last Modified on 3/1/2004

-

APPLIES TO


 * Microsoft Outlook 2002 Standard Edition

-



This article was previously published under Q294436





SYMPTOMS
When you use the Outlook object model, you programmatically add recipients to a DistListItem object, and you receive one of the following error messages:

Application-defined or object-defined error.

-or-

The operation failed.

Or, if you programmatically create a DistListItem, you may receive the following error message when you try to open it:

Can't open this item. Out of memory or system resources. Close some windows or programs and try again.



CAUSE
You have reached the limit of how many recipients the distribution list can hold.



WORKAROUND
Instead of using one large distribution list, create separate smaller ones.



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



MORE INFORMATION
If you use the Outlook user interface to add too many members to a distribution list, you receive a more user-friendly error message than if you exceed the limit by using the Outlook object model. When you use the Outlook object model, you must be careful to not add too many members, otherwise the distribution list item can become corrupted.

