Add-in office 2007 / 2010 RRS feed

  • Question

  • Hi all, i´m a little bit lost with the symptoms.... 

    I´ve got a VSTO addin for Excel written using c# and visual studio 2010. 

    The adding works great for office 2010, office 2013 even deploying them using an installer.

    I´ve found in office 2007 is not running after the installer is complete. Curiously the addin is listed under the COM Addins but it doesn't load or run.

    I´ve installed Office 2007 on my dev box and built the adding using Visual Studio 2010. The Addin runs good!

    It seems to be a problem with the manifest or something.

    Can anybody give me a hint?

    Thanks in advance.

    Monday, November 9, 2015 7:33 PM

All replies

  • Hello,

    Did you have a chance to check out the windows registry keys? See Registry Entries for Application-Level Add-Ins for more information.

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

    Hard disabling can occur when an VSTO 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 VSTO Add-in is executing.

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

    When you re-enable a soft-disabled VSTO Add-in, the application immediately attempts to load the VSTO Add-in. If the problem that initially caused the application to soft disable the VSTO Add-in has not been fixed, the application will soft disable the VSTO Add-in again. Read more about that in the How to: Re-enable a VSTO Add-in That Has Been Disabled article.

    Finally, make sure that all the required prerequisites are installed. See Deploying an Office Solution by Using Windows Installer.

    P.S. Also you may find the Running Solutions in Different Versions of Microsoft Office article helpful.

    • Proposed as answer by David_JunFeng Sunday, November 22, 2015 2:35 PM
    Monday, November 9, 2015 8:44 PM