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?
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Nishant MittalRank #692 · 3.5K reputationPosted May 3, 2016, 2:01 AM EDT
Nishant MittalRank #692 · 3.5K reputationPosted May 3, 2016, 2:02 AM EDT
M B53 reputationPosted May 3, 2016, 2:20 AM EDT