Outlook Addin Error: not loaded. Download failed while loading COM add-in

I created the VSTO Outlook add-on. The configuration is as follows:

  • Visual studio 2008
  • Office 2007 Outlook Adds (3.5 Framework)
  • MSI created using the Visual Studio installation project
  • Deployed in Office 2010 under Windows 7

It works fine on Dev PC, however it does not load after installation on a test machine. The addlook outlook window displays"Not loaded. A runtime error occurred during loading of COM add-in"

As far as I understand, I do not need to install any PIAs, since Office PIA Office 2007 is part of Office 2010.

So far I have tried the following:

  • set VSTO_SUPPRESSDISPLAYALERTShowever it does not show any messages when trying to run.
  • configured Fuslogvw.exe(Assembly Binding Log Viewer), however it does not show any binding errors.
  • set VTSO_LOGALERTS, and it logs all warnings, however, as shown, this did not help.

Is there something that I am doing wrong or need to do in addition to this work?

+5
source share
2 answers

Verify that the VSTO 3.0 Runtime is installed on the test machine .

You also need to install VSTO 3.0 Runtime Service Pack 1 if you are using Visual Studio 2008 Service Pack 1 (SP1).

VSTO 4.0 Runtime is not required in your situation because it is used with add-ins created using Visual Studio 2010. Note that the VSTO version and runtime should usually be consistent with the version of Visual Studio used to create the add-in.

+8

All Articles