1

I developed an application using C# Outlook ribbon Addins. Its working fine, but its keep disabling when outlook start.

Abhilash Thomas
  • 833
  • 2
  • 12
  • 23
  • Check this SO thread regarding VSTO addin troubleshooting: [link](http://stackoverflow.com/questions/4668777/how-to-troubleshoot-a-vsto-addin-that-does-not-load) – sszarek Apr 23 '15 at 11:05
  • i tried the link which mentioned in the comment, but its still happening with Microsoft Outlook 2013. – Abhilash Thomas Apr 23 '15 at 11:16

1 Answers1

0

Is your add-in listed in the Disabled Items list?

Microsoft Office applications can disable add-ins that behave unexpectedly. If an application does not load your add-in, the application might have hard disabled or soft disabled your add-in.

Hard disabling can occur when an add-in causes the application to close unexpectedly. It might also occur on your development computer if you stop the debugger while the Startup event handler in your add-in is executing.

Soft disabling can occur when an add-in produces an error that does not cause the application to unexpectedly close. For example, an application might soft disable an add-in if it throws an unhandled exception while the Startup event handler is executing.

When you re-enable a soft-disabled add-in, the application immediately attempts to load the add-in. If the problem that initially caused the application to soft disable the add-in has not been fixed, the application will soft disable the add-in again.

See How to: Re-enable an Add-in That Has Been Disabled for more information.

Also Outlook 2013 monitors add-in performance metrics such as add-in startup, shutdown, folder switch, item open, and invoke frequency. Outlook records the elapsed time in milliseconds for each performance monitoring metric. For example, the startup metric measures the time required by each connected add-in during Outlook startup. Outlook then computes the median startup time over 5 successive iterations. If the median startup time exceeds 1000 milliseconds (1 second), then Outlook disables the add-in and displays a notification to the user that an add-in has been disabled. The user has the option of always enabling the add-in, in which case Outlook will not disable the add-in even if the add-in exceeds the 1000 millisecond performance threshold. See Performance criteria for keeping add-ins enabled.

Eugene Astafiev
  • 47,483
  • 3
  • 24
  • 45