Error In Imsgstore.openentry Mapi_e_not_found
/ Riva On-Premise - CRM Sync / Manage Riva On-Premise (Admin Guides) / Email Systems / Exchange 2003 (MAPI) / Errors & Troubleshooting / Error during sync for MAPI - Error in IMsgStore::OpenEntry -... Error during sync for MAPI - Error in IMsgStore::OpenEntry - MAPI_E_NOT_FOUND Article ID: 868 Last updated: 22 Jun, 2015 A customer reported seeing the following errors in the Riva Service Monitor application for most of their users: 2012-12-19 15:16:43,438 INFO [CTP-qqy #0] [389843496] Initializing 2012-12-19 15:16:44,704 INFO [CTP-qqy #0] [389843496] Unable to initialize: Error in IMsgStore::OpenEntry - 0x00000000C37F790D57B0A348B0151E5B0DCACBAF01006D3E7D1B93466C4785E5AE4B379FCAE20000007E27730000: MAPI_E_NOT_FOUND 2012-12-19 15:16:44,735 INFO [CTP-qqy #0] [389843496] [ExMapiConnection, Disconnect] Logging off. 2012-12-19 15:16:44,735 INFO [CTP-qqy #0] [389843496] [ExMapiConnection, Disconnect] Releasing Session. 2012-12-19 15:16:44,735 INFO [CTP-qqy #0] [389843496] [ExMapiConnection, Disconnect] Disposing Impersonator. 2012-12-19 15:16:44,751 INFO [CTP-qqy #0] [389843496] Total Synchronization Time: 11 secs. (3:16:44 PM) 2012-12-19 15:16:44,751 INFO [CTP-qqy #0] [389843496] Synchronization Completed in 11 secs. (3:16:44 PM) 2012-12-19 15:16:44,751 ERROR [CTP-qqy #0] [389843496] Error occurred during synchronization. System.Runtime.InteropServices.COMException (0x8004010F): Error in IMsgStore::OpenEntry - 0x00000000C37F790D57B0A348B0151E5B0DCACBAF01006D3E7D1B93466C4785E5AE4B379FCAE20000007E27730000: MAPI_E_NOT_FOUND Sync error - (0x8004010F): Error in IMsgStore::OpenEntry - MAPI_E_NOT_FOUND Research suggests that this error may be related to an offline address book that may have been left open by one or more of the target users. We were unable to confirm that as the cause. Resolution The only procedure known to resolve the error is to create a new Riva connection user in AD/Exchange and reconfigure Riva to use that new connection user: In the Riva CRM Monitor application, STOP the service. Copy to the desktop all of the .policy files found in the \Riva\Configuration folder. (This preserves a list of the target users.) Open each .policy file in Notepad, so that you can copy and paste the target user email addresses at steps 6 and 9. In AD/Exchange, create a new Riva connection user (for example, riva2-svc), and enable a full Exchange mailbox. On all of the target users, grant full access permissions to the new Riva connection user, and then test Delegate access. In the Riva Manager applicat
to disk.For troubleshooting purposes, what are some things to check for (on Exchangeserver or in code) for whenIMAPISession.OpenMsgStore fails with MAPI_E_FAILONEPROVIDER:hr = pSession->OpenMsgStore(0, cbStoreEid, pStoreEid, NULL,/*MDB_NO_DIALOG |*/ MAPI_BEST_ACCESS, &pMailboxMDB);IMsgStore.OpenEntry fails with MAPI_E_NOT_FOUND when trying to openIPM_SUBTREE:hr = mailbox->OpenEntry(pFolderId->cb, (LPENTRYID)pFolderId->lpb,NULL,MAPI_BEST_ACCESS, &uObjType, (LPUNKNOWN FAR *)&pFolder);thanksScottM Dmitry Streblechenko 2007-03-03 21:54:33 UTC PermalinkRaw Message How do you log to a profile? Is your code running under the identity of theWindows user who owns the mailbox?Dmitry Streblechenko (MVP)http://www.dimastr.com/OutlookSpy http://kb.omni-ts.com/entry/868/ - Outlook, CDOand MAPI Developer ToolPost by Scott McFaddenI am attempting to export all of our user's exchange emails to disk.For troubleshooting purposes, what are some things to check for (onExchange server or in code) for whenhr = pSession->OpenMsgStore(0, cbStoreEid, pStoreEid, NULL,/*MDB_NO_DIALOG |*/ MAPI_BEST_ACCESS, &pMailboxMDB);IMsgStore.OpenEntry fails with MAPI_E_NOT_FOUND when trying http://microsoft.public.win32.programmer.messaging.narkive.com/FUJl6HOH/mapi-e-failoneprovider-and-mapi-e-not-found to openhr = mailbox->OpenEntry(pFolderId->cb, (LPENTRYID)pFolderId->lpb,NULL,MAPI_BEST_ACCESS, &uObjType, (LPUNKNOWN FAR *)&pFolder);thanksScottM Scott McFadden 2007-03-04 02:10:41 UTC PermalinkRaw Message Oops, turns out it was a permissions deal. My current NT user has mailboxpermissions for all mail boxes on Server1 but no permission for mailboxes onServer2. Weird error though. Figured Microsoft would give a better errorfor a permission related issue.thanksPost by Dmitry StreblechenkoHow do you log to a profile? Is your code running under the identity ofthe Windows user who owns the mailbox?Dmitry Streblechenko (MVP)http://www.dimastr.com/OutlookSpy - Outlook, CDOand MAPI Developer ToolPost by Scott McFaddenI am attempting to export all of our user's exchange emails to disk.For troubleshooting purposes, what are some things to check for (onExchange server or in code) for whenhr = pSession->OpenMsgStore(0, cbStoreEid, pStoreEid, NULL,/*MDB_NO_DIALOG |*/ MAPI_BEST_ACCESS, &pMailboxMDB);IMsgStore.OpenEntry fails with MAPI_E_NOT_FOUND when trying to openhr = mailbox->OpenEntry(pFolderId->cb, (LPENTRYID)pFolderId->lpb,NULL,MAPI_BEST_ACCESS, &uObjType, (LPUNKNOWN FAR *)&pFolder);thanksScottM 2 Replies 81 Views Switch to linear
Thu, 14 May 2009 16:59 [message #61438] LehmansSysAdmin Messages: 43 http://forums.kerio.com/t/15366// Karma: 0 Some of our Outlook 2003 users are now experiencing an error when they try to start Outlook. Unable to open http://www.verycomputer.com/5_3e47267382dd653f_1.htm your default e-mail folders. 0x8004010f: MAPI_E_NOT_FOUND I can manually set a different account in KOFF and it works OK. I also tried error in one of the failing accounts on a different PC, and it still fails. I tried the suggestion at the end of this thread but didn't help: http://forums.kerio.com/index.php?t=msg&th=14879&S=f 34b209d92753f632077a9617f2dbd30#msg_59399 Also have tried... - creating a new Outlook profile - un-installing and re-installing KOFF Also error in imsgstore.openentry found these messages in the debug.log file... [13/05/2009 10:12:08.700](3988){err}{synchronizer} In .\Synchronizator.cpp:1403 (Synchronizator::setOnlineInternal) [#1] (8499) Not found private store - stay in online mode without synchronization support. [13/05/2009 10:12:13.135](3988){err}{database} In .\DbSearchFolder.cpp:392 (CDbSearchFolder::AS_getSearchCriteria) [#2] (8499) Exception of class HResultException: .\DbSearchFolder.cpp(365), CDbSearchFolder::AS_getSearchCriteria: 0x80040605 MAPI_E_NOT_INITIALIZED HRESULT: 0x80040605 MAPI_E_NOT_INITIALIZED [13/05/2009 10:12:13.135](1076){err}{mapi-interface} In .\MAPIFolderImpl.cpp:337 (MAPIFolderImpl::GetSearchCriteria) [#3] (8499) Exception of class HResultException: .\MAPIFolderImpl.cpp(321), MAPIFolderImpl::GetSearchCriteria: 0x80040605 MAPI_E_NOT_INITIALIZED [13/05/2009 10:12:13.135](1076){err}{mapi-interface} In .\MSProviderImpl.cpp:347 (MSProviderImpl::Logon) [#4] (8499) Exception of class HResultException: .\MapiHelper.cpp(71), Utilities::MapiHelper::getOneProp: 0x8004010f MAPI_E_NOT_FOUND I've been in contact with Kerio tech support since yesterday and am waiting a reply, but I was wondering if anyone else has experienced this issue, and how you fixed it? Thanks in advance for any advice. [Updated on: Thu, 14 May 2009 17:07] Report message to a moderator Thu, 14 May 2009 17:1
Feb 2003 06:12:25 Hello, MAPI gurus and Microsoft guys: Could you drop a line if you have some idea with on the following weird issue? Thanks a lot! -g --------------- Environment ----------- Exchange 2000 w/ SP3 on Windows 2000 Adv. Server w/ SP3. We use IMsgStore::OpenEntry() to open folders by providing long-term Entry IDs (got from GetProps()). --------------- Issue description ------- After a user is moved from a Mail Store Db to another on the same Exchange server, the above API always fails. The return code is 0x8004010f (MAPI_E_NOT_FOUND). HOWEVER, if the user is moved back to the original Mail Db, the API starts working again. --------------- More details ------------ We noticed that after user is moved, the Entry ID of folder is not changed, like following example: (len = 46 bytes) 000000001231D87BCC99E548AB5EC2FD54FEC30C0100C6788CCED59AD14BBB0FBD753D43A3D800000000C2130000 The Entry ID for the same message did change: From: (70 bytes) ===== 000000001231D87BCC99E548AB5EC2FD54FEC30C0700C6788CCED59AD14BBB0FBD753D43A3D800000000C213000044D20283903A9445A376FDC5FE9C4941000000051BFA0000 To: (70 bytes) === 000000001231D87BCC99E548AB5EC2FD54FEC30C0700C6788CCED59AD14BBB0FBD753D43A3D800000000C2130000C6788CCED59AD14BBB0FBD753D43A3D800000000CCA80000 Top IMsgStore::OpenEntry always fails with 0x8004010f after user moved (Exchange 2000) by Vince Gat » Mon, 03 Feb 2003 11:43:49 Make sure you have opened the message store and the root folder that the item is contained in, otherwise the session will not know that the EntryID you're requesting even exists. Top IMsgStore::OpenEntry always fails with 0x8004010f after user moved (Exchange 2000) by George Wa » Thu, 06 Feb 2003 01:05:46 Thanks! I did open the message store, and it was successful (where I got the pointer for IMsgStore). The weird things are: 1. Open hiearchy tables, use short-term EntryID to open folder is fine. But IMsgStore::OpenEntry() using long-term En