Russell Durham
Russell Durham

Reputation: 624

Outlook 2007 Add-In, LoadBehavior changing to 0

I'm developing an add-in for Outlook 2007 (VSTO 4.0, .Net 4.0). Whenever I install on the target machine using an msi all registry settings are correctly set and I can see the add-in listed under the installed add-ins. However, it is listed under inactive and whenever I go to manage the com add-ins and check the box to enable it, it does not stay checked.

I checked the registry setting and the load behavior has changed from 3 to 0, so I close outlook, change it back to 3 and start outlook again. Once again it changes from 3 to 0.

I've gone through this article: Deploying your VSTO add-ins to All Users (Saurabh Bhatia) and the msdn doc referenced in it several times now and can't figure out where I'm going wrong.

Any help debugging this issue further, or even better, a solution to this issue, would be greatly appreciated.

Upvotes: 6

Views: 5883

Answers (2)

A. Gopal Reddy
A. Gopal Reddy

Reputation: 380

When I installed Outlook Add-In in client's machine which contains Outlook 2007, our outlook Add-In didn't get enabled. We searched a lot. Finally we concluded as this is not a issue with Outlook Add-In.

Outlook Add-In needs the following in Outlook 2007:

  • Microsoft Office Service Pack to Service Pack 2 along with Hot fix
  • Microsoft Office Service Pack to Service Pack 3

Installed Microsoft Office Service Pack to Service Pack 2 along with Hot fix or above versions of Service Pack.

Please find the Service Pack 2 Hot fix link below  http://support.microsoft.com/kb/976477

Upvotes: 1

Reza S
Reza S

Reputation: 9758

I've had similar issue. Install Outlook 2007 Service Pack 2 as well as this hotfix http://support.microsoft.com/kb/976477

Also make sure you have HKLM\SOFTWARE\Microsoft\Office\12.0\Common\General\EnableLocalMachineVSTO = 1

For more info visit: http://support.microsoft.com/kb/976811

Upvotes: 5

Related Questions