locked
MAPI hang issue using Outlook 2003 MAPI with Exchange 2007 RRS feed

  • Question

  • Hello,

    We have an application running as a NT service which communicates with exchange server using the outlook 2003 mapi implementation.
    The problem is that the application/thread hangs in some customer installations, when we are requesting some MAPI procedures. There is no scheme in when the thread starts

    hanging but it happens after some time (typically after 3-4 days of application runtime). Most of the times when this hang occurs it happens when trying to open a users mailbox,

    but we have also seen the problem when the software is trying to configure the message service profile.

    The appearance is that the MAPI procedure somehow waits answer from the Exchange server and hereby we have the deadlock as this answer is not returned.

    We have also read that there are some issues concerning the refferal service on the exchange servers, but in all cases we have read about, it was only concerning the MAPI

    download version and not the MAPI version delivered by outlook 2003.

    Could there be a refferal problem in Outlook 2003 MAPI implementation?

    Should the MapiInitialize/MapiUnInitialize procedure be used for each thread using MAPI, or is it enough to initialize it from the main thread? (We are using the

    MAPI_MULTITHREAD_NOTIFICATIONS)

    Where can we obtain more information about the Windows API's available for handling the RPC calls through MAPI?

    Thanx in advance.

    Regards
    Rasmus Schram

    Thursday, April 23, 2009 2:52 PM