COM Addin Failed to load in Outlook 2003

  • Thread starter Thread starter Sandeep
  • Start date Start date
S

Sandeep

Hi,

I have developed a addin in C# for Outlook 2003 and above.
It works well for Outlook 2007 on a clean machine but failed to load in
Outlook 2003.
The OnConnection() event is not firing where i put message boxes/logs.
I also tried to look into the Addin Manager, but there it is not listed.

When the "LoadBehavior" in registry is set to 3, upon starting the Outlook
2003 it is set to 2 that means Outlook failed to load this plugin.

I have .NET frameworks 2.0, 3.5 SP1 and Visual C++ 2005 redistributable
package installed on the test machine.

However, it works well for Outlook 2003 on my development machine.

Please advise if i am missing anything.

Any help will be greatly appreciated.

Thank you!
Sandeep
 
This group is for custom Outlook forms, not for COM addins.

I have no idea why you would need the VC++ redistributable or 2 different
frameworks on a target machine. However, there's no possible way for anyone
to know why your code isn't working when deployed.

Are you referencing the Outlook and Office 2003 PIA's? Are you deploying any
necessary dependencies if they aren't installed? Are you checking for the
PIA's and for Extensibility and stdole? Are you doing any Fusion logging to
see if a load error by the managed code loader is being logged?

I'd suggest that you start doing Fusion logging, as that's what anyone would
have to do to see what's going on. Review this troubleshooting article for
information:
http://blogs.msdn.com/vsod/archive/2008/04/22/Troubleshooting-com-add-in-load-failures.aspx
 
Back
Top