Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

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


View products that this article applies to.

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

↑ Back to the top


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.

↑ Back to the top


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 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: 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� 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

↑ Back to the top


Status

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

↑ Back to the top


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� Description of the Standard Terminology That Is Used to Describe Microsoft Software Updates

↑ Back to the top


Keywords: KB813148, kbprb, kbbug, kbexchange2000presp4fix, kbfix, kbqfe, kbqfe, kbhotfixserver, kbautohotfix

↑ Back to the top

Article Info
Article ID : 813148
Revision : 8
Created on : 10/26/2006
Published on : 10/26/2006
Exists online : False
Views : 214