Using Redemption dll (Outlook) on a 64 bit machine
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.
riv_rec
Updated on June 04, 2022Comments
-
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 about 15 yearsThanks 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 over 14 yearsInstalling 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 almost 9 yearsAs 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.