Hi we have a outlook addin. we have used task factory and background worker in code. We have used WPF for our UI design. we see some issues reported for outlook crash and outlook disabling plugin. what are the reasons that a plugin can go into disabled mode?
Asked
Active
Viewed 40 times
-2
-
we have some workarounds to make the inactive or disbaled addin to be active. but how do we capture or identify what part of code is causing this ? Any help would be appreciated. – Priya Jul 23 '15 at 08:53
1 Answers
1
The Outlook object model should be used on the main thread only because Office applications uses the single threaded apartments. You are free to use a low-level API - Extended MAPI which can be used on secondary threads. Or any other wrapper around that API.

Eugene Astafiev
- 47,483
- 3
- 24
- 45
-
thank you ! are there any other reasons that could cause addin to disable mode or outlook crash ? we see many reporting this . but it is not reproducible in all machines. Another point here , we have some log files and json file in the users APPDATA/Roaming folder which our addin read and update. will this cause any issue related to outlook crash ? – Priya Jul 23 '15 at 08:38
-
Any exception in the code may cause your add-in trapped into the Disabled Items list. – Eugene Astafiev Jul 23 '15 at 13:13