none
Custom Excel Addin(C#) is disabled all of a sudden. RRS feed

  • Question

  • Hi,

    Custom Excel Addin(C#) is disabled all of a sudden.

    How can I enable addin again. why it's got disabled.

    Can you please help me.

    Thanks,
    Lakshmi

    Monday, February 15, 2016 2:53 PM

Answers


  • Monday, February 15, 2016 4:20 PM
  • Hello Lakshmi,

    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 the Startup 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.

    To re-enable a VSTO Add-in

    1. In the application, click the File tab.

    2. Click the ApplicationName Options button.

    3. In the categories pane, click Add-ins.

    4. In the details pane, verify that the VSTO Add-in appears in the Disabled Application Add-ins list.

      The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.

    5. In the Manage box, click Disabled Items, and then click Go.

    6. Select the VSTO Add-in and click Enable.

    7. Click Close.

    Read more about that in the How to: Re-enable a VSTO Add-in That Has Been Disabled article.

    Monday, February 15, 2016 4:23 PM

All replies


  • Monday, February 15, 2016 4:20 PM
  • Hello Lakshmi,

    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 the Startup 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.

    To re-enable a VSTO Add-in

    1. In the application, click the File tab.

    2. Click the ApplicationName Options button.

    3. In the categories pane, click Add-ins.

    4. In the details pane, verify that the VSTO Add-in appears in the Disabled Application Add-ins list.

      The Name column specifies the name of the assembly, and the Location column specifies the full path of the application manifest.

    5. In the Manage box, click Disabled Items, and then click Go.

    6. Select the VSTO Add-in and click Enable.

    7. Click Close.

    Read more about that in the How to: Re-enable a VSTO Add-in That Has Been Disabled article.

    Monday, February 15, 2016 4:23 PM