Outlook addin not loading

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!
 
K

Ken Slovak - [MVP - Outlook]

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.
 
T

TheCommedian

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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top