Out of thread question about Outlook COM iterop

C

chak

Hello,

This may be OT, but who knows ?

I am trying to access the local PC's Outlook folder , but get this 'Server
execution failed" error. Any hint where the error is ?

Thanks.



Server execution failed
Description: An unhandled exception occurred during the execution of the
current web request.

Please review the stack trace for more information about the error and where
it originated in the

code.

Exception Details: System.Runtime.InteropServices.COMException: Server
execution failed

Source Error:


Line 21: {
Line 22: // Put user code to initialize the page here
Line 23: Outlook.Application objOutlook = new Outlook.ApplicationClass();
Line 24: Outlook.NameSpace objNS = objOutlook.GetNamespace("MAPI");
Line 25:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top