Zimbra offers Open Source email server software and shared calendar for Linux and the Mac
Go Back   Zimbra :: Forums > Zimbra Collaboration Suite > Developers

Welcome to the Zimbra :: Forums!
Welcome, if you would like to post a comment please register. We also encourage you to explore all things Zimbra with our team and members of the community.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-30-2011, 11:31 AM
Starter Member
 
Posts: 1
Question Access ZDB with MAPI causes a crash

Hello there,

I have an application that is attempting to crawl the contents of the ZDB file using MAPI. I am using Outlook 2007 with the 6.0.13 GA version of the Outlook plugin. I can open Outlook 2007 and see my messages on the Zimbra server. I use the same MAPI code for crawling regular PST files and IMAP PST files, with no issues at all.

I have the following problems when trying to crawl the ZDB file:

1. OpenMsgStore sometimes hangs for minutes before proceeding. It will work, but it appears like it is attempting some kind of sync with the GAL. Is this expected?

2. When I close the store, sometimes (not every time) I get an AccessViolation when calling StoreLogoff:
ULONG uflags = LOGOFF_NO_WAIT;
m_pMDB->StoreLogoff(&uflags);

At this time, my application produces a crash log that points to an unmanaged exception in LSLIB32.dll (the Zimbra DLL?).

I *think* it happens more often when there is more than one Outlook profile on the system, but I cannot verify this for sure.

Has anyone had luck in crawling the ZDB store with MAPI? Is there some other library I need to use?

Thanks for any help you can provide.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads

Why Join?

Registering let's you ask questions, makes it easier to search, displays any files attached to posts, and notifies you about replies.

blog.zimbra.com




 

SEO by vBSEO ©2011, Crawlability, Inc.