问题
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)
回答1:
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.
回答2:
The solution here was to install the Outlook client on the server.
来源:https://stackoverflow.com/questions/593636/using-redemption-dll-outlook-on-a-64-bit-machine