Tech
Forums
Jobs
Books
Events
Videos
Conference
Annual Conference
Bcrypt
Ai Conference
Live
More
Interviews
Certification
Training
Career
Members
News
Blogs
Contribute
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
3
Answers
Getting COMException when accessing on Outlook 2010
Ask a question
Ask a question
Upload Source Code:
Select only zip and rar file.
M B
8y
792
1
Reply
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?
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Maintain Checkbox List State when Autopost has done
Join Multiple Data Source c#