C# Outlook Retrieving the COM class factory for component with CLSID failed due to the following error: 80080005 -


i getting below error when try access outlook folder download attachment inbox. code working when run windows form application. when use windows service auto scan outlook folder, getting issue.

*pollingservice encountered error 'retrieving com class factory component clsid {0006f03a-0000-0000-c000-000000000046} failed due following error: 80080005.'

for more information, see , support center @ http://go.microsoft.com/fwlink/events.asp.*

microsoft not recommend, , not support, automation of microsoft office applications unattended, non-interactive client application or component (including asp, asp.net, dcom, , nt services), because office may exhibit unstable behavior and/or deadlock when office run in environment.

if building solution runs in server-side context, should try use components have been made safe unattended execution. or, should try find alternatives allow @ least part of code run client-side. if use office application server-side solution, application lack many of necessary capabilities run successfully. additionally, taking risks stability of overall solution. read more in considerations server-side automation of office article.

as workaround may consider using low-level api on outlook built - extended mapi or other third-party wrapper around api (such redemption).


Comments

Popular posts from this blog

html - How to set bootstrap input responsive width? -

javascript - Highchart x and y axes data from json -

javascript - Get js console.log as python variable in QWebView pyqt -