Microsoft KB Archive/279796

= Error Message: Out of Memory When Allocating MAPI Buffer =

Article ID: 279796

Article Last Modified on 1/25/2006

-

APPLIES TO


 * Microsoft Metadirectory Services 2.2 Service Pack 1

-



This article was previously published under Q279796



SYMPTOMS
When you export custom recipients to Microsoft Exchange Server 5.5 by using the Microsoft Metadirectory Services (MMS) Exchange MAPI Management Agent, the following error message is reported in the log:

Updating Custom Recipients

Error was encountered in function : HrCreateDAPIEntry.

Error message :

Out of memory when allocating MAPI buffer.

The HRESULT code was 0x8007000e.

1 error(s) written to NT event log.

When Cdir_ex.exe generates the &quot;Out of memory when allocating MAPI buffer&quot; error message in the Management Agent log, the Management Agent is unable to update Exchange with custom recipients.



CAUSE
This issue can occur if you used a Lightweight Directory Access Protocol (LDAP)-style distinguished name when you configured the zcExchangeUNSBase attribute.



RESOLUTION
To resolve this issue, follow these steps:  Start the MAPI Exchange Management Agent, and on the Action menu, click Configure MA. Click the Connected Directory Specifics tab. Click the Custom Recipients tab. If the Exchange Custom Recipients Container Distinguished Name box is configured by using an LDAP-style distinguished name, remove the current configuration. Type the distinguished name in the following (Exchange-style) format:

/o= /ou= /cn=



<div class="moreinformation_section">

MORE INFORMATION
An LDAP-style distinguished name differs from an Exchange-style distinguished name in the following ways: <ul> An Exchange-style distinguished name is formatted in the following way:

/o= /ou= /cn=

but an LDAP-style distinguished name uses the following format:

CN= ,OU= ,L= ,DC= ,DC=com

</li> An Exchange-style distinguished name lists the distinguished name components from left to right, in least-to-most-significant order. However an LDAP-style distinguished name lists the distinguished name components from left to right, in most-to-least-significant order.</li> An Exchange-style distinguished name separates the distinguished name components by using the slash symbol (/). An LDAP-style distinguished name separates the distinguished name components by using the comma symbol .</li></ul>

Additional query words: Mapi MA Management Agent Metadirectory MMS

Keywords: kberrmsg kbenv kbprb KB279796

-

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

© Microsoft Corporation. All rights reserved.