View Single Post
  #6  
Old September 11th 08, 02:04 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Why COM add-in won't run without notice nor error message?

Hi,

If the same addin is running on your home machine then your registration
process should be OK, as long as the Framework version is there. You can set
a VS 2008 addin to use Framework 2.0, and if that's what you have on your
home machine then that should be OK.

My guess is that you don't have a load condition or prerequisite installed
where it's not working. You can check each dependency to see if it's there,
but I'd be inclined to implement the Fusion logging and see what that shows.
That's the most likely thing to tell you what's going on and where your
addin load is failing.

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


"Cedric" wrote in message
...
Hi Ken!

The scenario described in the page you linked isn't exactly what I'm
facing :

If you go to COM Add-Ins dialog, it shows the add-in as unchecked, and you
see an error “Not loaded. A runtime error occurred during the loading of
the
COM Add-In” when you select the add-in entry.
= This error message didn't appear. The comm add-in is simply unchecked.

If you check for the LoadBehavior for the Add-In in registry, it has
changed
from 3 to 2.
= No, it remains set to 3.

Nevertheless, I wonder about the following:
- I use VS2008, maybe it uses .Net Framework 3.5?
- I register my COM add in with the .Net Framework 2.0 as follows:
C:\Windows\Microsoft.Net\Framework\v2.0.50727\RegA sm.exe ".\Quinoa.dll"
/codebase
Could this be the source of the problem? Again, I don't think so as my
home
PC has the add-in installed the same way and it works...

Thanks for your help.

Cedric.


Ads