PC Review


Reply
Thread Tools Rate Thread

Outlook addin not loading

 
 
TheCommedian
Guest
Posts: n/a
 
      30th Jul 2008
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!
 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      31st Jul 2008
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/2...-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 Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"TheCommedian" <(E-Mail Removed)> wrote in message
news:ED58013F-0ABE-4655-AAB4-(E-Mail Removed)...
> 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!


 
Reply With Quote
 
TheCommedian
Guest
Posts: n/a
 
      4th Aug 2008
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!

"Ken Slovak - [MVP - Outlook]" wrote:

> 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/2...-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 Slovak
> [MVP - Outlook]
> http://www.slovaktech.com
> Author: Professional Programming Outlook 2007.
> Reminder Manager, Extended Reminders, Attachment Options.
> http://www.slovaktech.com/products.htm
>
>
> "TheCommedian" <(E-Mail Removed)> wrote in message
> news:ED58013F-0ABE-4655-AAB4-(E-Mail Removed)...
> > 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!

>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
error loading Outlook 2003 calendar addin Carla Microsoft Outlook Calendar 4 31st Jan 2008 04:17 PM
Outlook-Addin is not loading =?Utf-8?B?QXR1bFN1cmVrYQ==?= Microsoft Outlook Form Programming 0 3rd Aug 2006 03:53 PM
Addin loading custom outlook forms by default sublimese Microsoft Outlook Program Addins 5 24th Jan 2005 06:18 PM
loading a form in outlook addin edo Microsoft Outlook Program Addins 2 13th Jun 2004 08:08 AM
Outlook is not loading Addin's for second instance Bala Microsoft Outlook 0 20th Oct 2003 11:03 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:30 PM.