Help and Support

Article ID: 813148 - Last Review: October 26, 2006 - Revision: 1.7

XADM: Cannot Programmatically Access a Table That Contains More Than 65,535 Entries

Hotfix download is availableHotfix Download Available
View and request hotfix downloads

On This Page

Expand all | Collapse all

SYMPTOMS

When you programmatically call the GetPublicFolderTable method to return a table that lists all the public folders from a Microsoft Exchange 2000 Server computer, you may receive the following error message:
MAPI_E_TABLE_TOO_BIG

CAUSE

This problem occurs if there are more than 65,535 public folders on the computer. There is a limit of 65,536 entries in a MAPI table; the 65,536 entry limit is a limitation of MAPI.

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  (http://support.microsoft.com/kb/824282/ ) September 2003 Exchange 2000 Server Post-Service Pack 3 Rollup

Hotfix Information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, submit a request to Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support (http://support.microsoft.com/contactus/?ws=support)
Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.

Prerequisites

Because of file dependencies, this hotfix requires Microsoft Exchange 2000 Server Service Pack 3 (SP3). For additional information, click the article number below to view the article in the Microsoft Knowledge Base:
301378  (http://support.microsoft.com/kb/301378/EN-US/ ) How to Obtain the Latest Exchange 2000 Server Service Pack

File Information

Component: Messaging database

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
--------------------------------------------------------------
05-Mar-2003  19:50  6.0.6431.0        958,464  Emsmdb32.dll

STATUS

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section of this article.

MORE INFORMATION

This hotfix adds a new method that is named GetPublicFolderTableOffset. You can use this new method in the new IExchangeManageStore4 interface. The original GetPublicFolderTable method and the original IExchangeManageStore3 interface are still available. Both the GetPublicFolderTableOffset method and the GetPublicFolderTable method now return a full (65,536 row [64K row]) MAPI table even if there are more than 65,536 rows to be returned. The new GetPublicFolderTableOffset method contains an additional argument that is named uOffset. You can use the uOffset argument to start retrieving data from a specific place in the master table. The uOffset = 0u argument directs this method to start at the beginning of the table. For example, you can programmatically make the following calls until an empty table is returned:
GetPublicFolderTableOffset (? 0u)
GetPublicFolderTableOffset (? 65536u)
GetPublicFolderTableOffset (?131072u)
For additional information about the terminology that is used to describe Microsoft product updates, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://support.microsoft.com/kb/824684/ ) Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates

APPLIES TO
  • Microsoft Exchange 2000 Server Standard Edition
Keywords: 
kbautohotfix kbhotfixserver kbqfe kbqfe kbfix kbexchange2000presp4fix kbbug kbprb KB813148

Article Translations

 

Related Support Centers