Microsoft KB Archive/288182

From BetaArchive Wiki
Knowledge Base


Article ID: 288182

Article Last Modified on 6/11/2002



APPLIES TO

  • Microsoft Site Server 3.0 Standard Edition



This article was previously published under Q288182

IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry


SYMPTOMS

When you update a multivalued attribute, such as e-mail (mail) or distribution List (dlMember), with an array containing a large number of items, one of the following errors may occur on the SetInfo method:

0x8007200F "The directory service is unavailable".

0x8007203A "LDAP Server Down".

CAUSE

The LDAP (Lightweight Directory Access Protocol) service pre-allocates a buffer with a default size of 32 KB. If this buffer size is exceeded, the errors may occur.

RESOLUTION

WARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.



To resolve this problem, add the registry DWORD value MaxLdapExtendedIoBuffer to the following key:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LDAPSVC\Parameters


Set MaxLdapExtendedIoBuffer to a desired value (for example: 5 times the default value). Note that there may be performance problems if this is set too high. If MaxLdapExtendedIoBuffer does not exist, the buffer is given a size of 32 KB by default.

WORKAROUND

To work around this problem, use the Append or Delete parameter instead of Update to add items to or remove them from a multivalued attribute.

MORE INFORMATION

For additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

251174 How to Programmatically Add Members to Distribution Lists


251176 How to Programmatically Remove Members from Distribution Lists


221115 Using Regtrace.exe to Gather Debug Information from Site Server



Additional query words: SS3 Direct Mail (DM) Distribution List (DL) ADSI

Keywords: kbprb KB288182