Product exited without properly closing your Outlook data file RRS feed

  • Question

  • Hi,

       I created an application wih Extended MAPI for reading attchments from Outlook 2010. Even If I close my application window, it sitting there in the task manager and if kill the process from the task manager, when trying to open any mails in outlook, I am always getting the error "product exited without properly closing your outlook data file".

    What needs to be done in my Extended MAPI application to resolve this problem. Please anyone suggest your ideas to resolve this problem.


    • Edited by rmgs123 Tuesday, January 1, 2013 8:39 AM
    Tuesday, January 1, 2013 8:27 AM


  • How do you initialize and uninitialize MAPI?

    Do you properly release all MAPI objects? If you pause your app in the debugger, what do you see on the call stack?

    Try to comment out most of your code and then bring it back a few lines at a time until the problems comes back.

    Dmitry Streblechenko (MVP)
    Redemption - what the Outlook
    Object Model should have been
    Version 5.4 is now available!

    Tuesday, January 1, 2013 3:55 PM