C# 在 64 位机器上使用 Redemption dll (Outlook)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/593636/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Using Redemption dll (Outlook) on a 64 bit machine
提问by Paul Rowland
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!).
我有一个 exe,我已经安装在我的 32 位机器上,它循环登录用户的收件箱并且工作正常,(注意我仍然没有让它为另一个用户工作(见这里)任何想法也将不胜感激!) .
But when I install it on 64 bit server I am getting this error:
但是当我在 64 位服务器上安装它时,我收到此错误:
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).
我已经在服务器上注册了 Redemption dll(请参阅此处)。
I have done this running-c-app-32-bit-on-64-bit-machine
我已经完成了这个running-c-app-32-bit-on-64-bit-machine
NB.
The class id would appear to be Redemption.RDOSession
(see here)
注意。类 id 看起来是Redemption.RDOSession
(见这里)
采纳答案by Paul Rowland
The solution here was to install the Outlook client on the server.
这里的解决方案是在服务器上安装 Outlook 客户端。
回答by David Lay
Hanner de Jager nailed it on the comment, but this deserves a full fledged answer.
Hanner de Jager 在评论中指出了这一点,但这值得一个完整的答案。
All you need on the server is to install the Microsoft Exchange Server MAPI Client and Collaboration Data Objects
您只需要在服务器上安装 Microsoft Exchange Server MAPI 客户端和协作数据对象
Outlook is not needed. That's the beauty of Redemption.
不需要 Outlook。这就是救赎之美。