Outlook - Outlook addin not loading

Asked By TheCommedia
30-Jul-08 11:47 AM
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!
Outlook 2007
(1)
Outlook
(1)
ManagedAggregrator
(1)
TheCommedian
(1)
Reminders
(1)
Shim
(1)
Addin
(1)
Vsod
(1)
  Ken Slovak - [MVP - Outlook] replied...
30-Jul-08 06:05 PM
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 Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm
  TheCommedia replied...
04-Aug-08 10:03 AM
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!
Create New Account
help
Create a macro in Outlook to run a rule Outlook I created a rule in Outlook 2007 for e-mails that have certain words in the subject line, to be deleted. I that and not have to click on tools, rules, etc. How do I do that? Outlook Program VBA Discussions Application.GetNameSpace (1) Outlook 2007 (1) Outlook (1) Outlook.NameSpace (1) VBA (1) VB (1) RunRuleDeleteSpam2 (1) RunRuleDeleteSpam (1) Sub RunRuleMyRule() Application
Saving attachments to folder from public folder Outlook Hey there! I am currently working on a project that involves merging data from many into one Excel workbook for analysis. The csv files are sent to a public folder (outlook: \ Public Folders \ All Public Folders \ etc. . .) I thought the easiest way to do this would be to import the data straight from Outlook to the Excel file but after much painful testing I could not get it to main mailbox folders, not public and am unsure why. . . I have almost no experience with Outlook coding so any help is appreciated! This is the current code: If there is a instead of using a selection, that is fine too! Public Sub SaveAttachments() Dim objOL As Outlook.Application Dim objMsg As Outlook.MailItem 'Object Dim objAttachments As Outlook.Attachments Dim objSelection As Outlook.Selection Dim i As Long Dim lngCount As Long Dim strFile As String Dim strFolderpath
Handling application.quit event Outlook Hello, i am developing an exe application and i use global object to declare outlook application withevents. I use outlook 2007 sp2 and i am having trouble releasing my variable references or reusing then. I use this code : Public Class StartOE Private WithEvents o As Outlook.Application = Nothing Private ns As Outlook.NameSpace = Nothing Private omFolder As Outlook.MAPIFolder = Nothing Public Sub New() If detectOutlook() Then o = GetObject(, "Outlook.Application") Else o = New Outlook.Application End If Try ns = o.GetNamespace("MAPI") ' get namespace
Problem seeing some characters when sending email to Outlook client Outlook Using VB6, I am sending an HTML email using SMTP. I am having a problem like a bullet point that looks like an arrow) thru email that is received in Outlook. The weird thing is some Outlook client can see the arrow fine, some can not. My Outlook 2003 used to be able to see the arrow ok, but now it does not Some Outlook 2007 can see it ok, some cannot. I can see the arrow fine in Gmail. This a problem with: = E2 = 96 = BA That arrow character becomes this in some of the Outlook client: – Thank you for your help. This is my code: Set poSendMail = 3D New clsSendMail
Looking for good email program? Outlook Hi forum members, This is the first time I have posted at this forum, and to an excellent internet / web based email. With Microsoft, it appears I have two choices, Outlook, or Outlook Express. Up front I am stating, not interested in all the bells and whistles that that exists, whether it is free, or, I have to pay for it. So, between Outlook and Outlook Express, what are the pros and cons about one versus the other? Please do not about the stuff I have stated I am not interested in. Simply want to compare Outlook vs Outlook Express's email program and how either will serve me best. My needs: 1 - I do not waste anybody's time with stuff that is not relevant to my question. Outlook or Outlook Express? For EMAIL PURPOSES. One or the other, Why vs Why Not? After