3
Answers

Getting COMException when accessing on Outlook 2010

M B

M B

8y
794
1
Hi All,
 
Error :-
Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80010001 Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED)).
 
My Code: 
 
private static Microsoft.Office.Interop.Outlook.NameSpace mapiNameSpace = null;
Outlook.Application myApp = new Outlook.Application();
mapiNameSpace = myApp.GetNamespace("MAPI");
 
The second line, throws an error message:-  
Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80010001 Call was rejected by callee. (Exception from HRESULT: 0x80010001 (RPC_E_CALL_REJECTED))
 
Do you know any solutions? 
 
 
 
 
Answers (3)