Managed Outlook add-ins do not start automatically

Hi!

I've played around a little bit with managed outlook add-ins. They work fine so far.

The problem. assume that i've activated such an add-in within outlook - and it works. when i shutdown outlook and restart it again, the add-in is not loaded automatically! when i go to the outlook add-in manager, it's still activated (selected). i then have to deselect it, close the dialog and reopen it and select it again, close it and then the add-in runs again...

any ideas

thanks -olaf

 




Answer this question

Managed Outlook add-ins do not start automatically

  • KZoli

    If Microsoft Office Outlook quits unexpectedly or an error occurs while an add-in is initializing, Outlook might choose disable the add-in. 

    Here's one thing you may want to try: you can get additional troubleshooting information by setting environment variables that make Microsoft Visual Studio 2005 Tools for the Microsoft Office System display detailed error messages and write all actions to a log file or display each error in a message box. By default, these options are turned off for Outlook projects. You can turn the options on by adding and setting environment variables. To display each error in a message box, set the VSTO_SUPPRESSDISPLAYALERTS variable to 0 (zero). You can suppress the messages by setting the variable to 1 (one). To write the errors to a log file, set the VSTO_LOGALERTS variable to 1 (one). Visual Studio Tools for Office creates the log file in the folder that contains the application manifest. The default name is <Manifestname>.manifest.log. To stop logging errors, set the variable to 0 (zero). For information about setting environment variables in Microsoft Windows XP, see "How To Manage Environment Variables in Windows XP" (http://support.microsoft.com/default.aspx scid=kb;en-us;310519).

    Regards,
    Paul Cornell
    Documentation Manager
    Microsoft Developer Division User Education

    ------------------------------------
    This posting is provided "AS IS" with no warranties, and confers no rights.


  • _jesse

  • Managed Outlook add-ins do not start automatically