Outlook addin not loading

  • Thread starter Thread starter TheCommedian
  • Start date Start date
T

TheCommedian

Hi, I'm writing a managed Outlook Addin and I've shimmed it using COM Shim
Wizard Version 2. My problem is that the Addin is not loading (OnConnection
is not firing) probably because a dependency issue.

Is there a way to check why an add-in is not loading and get a clue about
which dependency is the cause of the problem?

Many Thanks!
 
You want to look at the Fusion logs, that's the managed code loader. See
this article for managed code debugging:
http://blogs.msdn.com/vsod/archive/2008/04/22/Troubleshooting-com-add-in-load-failures.aspx

Depending on which version of the shim wizard you're using (and if they've
released an update), make sure you follow all the messages on Andrew
Whitechapel's blog about the shim wizard.

Some versions have a bug in their post-build events where the debug output
is mixed in with the release output in the build event script. That's in
either the ManagedAggregrator or shim or both projects.

In addition it's important to check in your setup project and make sure that
the ManagedAggregrator and addin dll outputs are set to not be COM
registered and that the shim output is COM registered. That was another bug
in some versions of the shim wizard or its instructions.
 
Ken,
Thanks for your reply, it was very usefull, I didn't know about Fusion Logs.
I was aware about the "bugs" of the shim wizard and how to configure the COM
registration in the setup project.

The link to VSOD Support Team has a bunch of information, very interesting!
Many thanks!
 
Back
Top