in my application i am trying to get my outlook contacts it is working fine in my system (local) but when i uploaded the code into our server which is so开发者_运维百科me where. I am getting the error like this
Retrieving the COM Class factory for component with CLSID failed due to the following error:80040154
i added the outlook reference in server also. still it is getting the error. can u help me
This looks like a 64bit issue like Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154.
Is the server running a 64bit edition of Windows?
The following link may be of interest to you Using X86 COM interop with ASP.Net application in Windows x64.
The asp.net worker process may not have sufficient permissions to do the COM calls. I'm not sure what the exact permissions will be but it definately needs registery permissions and permissions on the outlook executeable
精彩评论