Using Redemption dll (Outlook) on a 64 bit machine

11,784

Solution 1

The solution here was to install the Outlook client on the server.

Solution 2

Hanner de Jager nailed it on the comment, but this deserves a full fledged answer.

All you need on the server is to install the Microsoft Exchange Server MAPI Client and Collaboration Data Objects

Outlook is not needed. That's the beauty of Redemption.

Share:
11,784
riv_rec
Author by

riv_rec

Updated on June 04, 2022

Comments

  • riv_rec
    riv_rec almost 2 years

    I have an exe that I have installed on my 32 bit machine, it loops through logged in users Inbox and works fine, (NB I still havent got it working for another user (see here) any ideas there would be appreciated as well!).

    But when I install it on 64 bit server I am getting this error:

    Creating an instance of the COM component with CLSID {29AB7A12-B531-450E-8F7A-EA94C2F3C05F} from the IClassFactory failed due to the following error: 80004005.
    

    I have registered the Redemption dll on the server (see here).

    I have done this running-c-app-32-bit-on-64-bit-machine

    NB. The class id would appear to be Redemption.RDOSession (see here)

  • Andrew Flanagan
    Andrew Flanagan about 15 years
    Thanks for following up to your own question... Redemption can be a pain to work with but sometimes it seems like it's the only way.
  • Hannes de Jager
    Hannes de Jager over 14 years
    Installing Outlook on an exchange server is however not advised because the mapi version is different from the one needed for exchange. The propper solution is to install the redistributable named Microsoft Exchange Server MAPI Client and Collaboration Data: Objects: microsoft.com/downloads/…
  • Dmitry Streblechenko
    Dmitry Streblechenko almost 9 years
    As of Exchange 2010, it no longer installs or uses the MAPI system on the machine where Exchange is running. You can install Outlook on the same machine just fine. That being said, the standalone version of MAPI is a better choice if your code needs to run in a service, but it does not support Unicode PST and MSG files.