"MAPI_TABLE_TOO_BIG" error message when a program requests the last logon time value in Exchange 2000 Server (330250)



The information in this article applies to:

  • Microsoft Exchange 2000 Server

This article was previously published under Q330250
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 a program uses the IExchangeManageStore::GetMailboxTable method to obtain a table that lists all the mailboxes from an Exchange 2000 Server, the GetMailboxTable function returns the following error:
MAPI_TABLE_TOO_BIG

CAUSE

This problem may occur if there are more than 65,536 mailboxes on the Exchange server because MAPI has a limitation of 65,536 entries in a MAPI table.

RESOLUTION

Cumulative Rollup Information

To resolve this problem, obtain the September 2003 Exchange 2000 Server Post-Service Pack 3 (SP3) Rollup. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

824282 September 2003 Exchange 2000 Server Post-Service Pack 3 Rollup

Hotfix Information

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next Microsoft Exchange 2000 Server service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.

Component: MAPI

The English version of this hotfix has the file attributes (or later) that are listed in the following table. The dates and times for these files are listed in coordinated universal time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time tool in Control Panel.
   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   25-Oct-2002  20:14  6.0.6351.0        958,464  Emsmdb32.dll
Note Because of file dependencies, this update requires Microsoft Exchange 2000 Server Service Pack 3 (SP3). For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

301378 How to Obtain the Latest Exchange 2000 Server Service Pack



After you install this hotfix, you must also add the GetMailboxTable skip value registry value. To do this, follow these steps:

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.
  1. Click Start, click Run, type regedit.exe, and then click OK.
  2. Locate and then click the following key in the registry:

    HKEY_LOCAL_MACHINE\Software\Microsoft\Exchange\MSExchangeAdmin

  3. On the Edit menu, point to New, and then click DWORD Value.
  4. Type GetMailboxTable skip value, and then press ENTER.
  5. On the Edit menu, click Modify.
  6. In the Base area, click Decimal.
  7. Quit Registry Editor.
Note After you add this registry value, the GetMailboxTable function obtains the first 65,536 entries. To obtain entries after the first 65,536 entries (that is, to obtain entries starting at the 65,537 entry), you must set the GetMailboxTable skip value registry value to 65,536.

STATUS

Microsoft has confirmed that this is a problem in Microsoft Exchange 2000 Server.

Modification Type:MinorLast Reviewed:1/26/2006
Keywords:kbHotfixServer kbQFE kbQFE kbExchange2000preSP4fix kbbug kbfix KB330250 kbAudITPRO