PRB: MAPI_E_NOT_FOUND(8004010F) Accessing Folder in CollectionLast reviewed: January 22, 1998Article ID: Q179639 |
The information in this article applies to:
SYMPTOMSWhen retrieving elements from the folders collection through the Folders.Item() statement, you may receive the following error:
MAPI_E_NOT_FOUND(8004010F). CAUSEThe Folders.Item() statement performs a forward search. So, if you use that statement to retrieve item 2 of the folders collection and then later you try to access a previous item of the same collection, you receive the MAPI_E_NOT_FOUND error.
STATUSMicrosoft is researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
MORE INFORMATION
Steps to Reproduce BehaviorThe following code illustrates the problem described above:
Set objSession = CreateObject("MAPI.Session") objSession.Logon Set objInfoStores = objSession.InfoStores Set objInfoStore = objInfoStores.Item("Public Folders") Set objRootFolder = objInfoStore.RootFolder Set objFolders = objRootFolder.Folders Set objfolder = objFolders.Item(2) 'All Public Folders. ' The following line causes the error MAPI_E_NOT_FOUND ' with error code 0x8004010F. Set objfolder = objFolders.Item("Favorites") objSession.Logoff Keywords : kbcode cdo Version : WINDOWS:1.2 Platform : WINDOWS Issue type : kbprb Solution Type : kbpending |
================================================================================
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |