COM Add-in not loading

J

Jack

I have a workstation that will not load the COM Add-in. This machine was
upgraded from OL 2000 to 2003, it is running OL 2003 SP2. I can unregister
and register the dll and it completes successfully, however it will not add
to the COM Add-ins in OL. I also manually tried to add the dll
(tools-options-other-advanced options-COM addins) and it accepted the path
but did not add it to the list. It is also not listed in disabled items.

Jack
 
W

Wei Lu [MSFT]

Hello Jack,

Please go into the registry and report back the value of the LoadBehavior
registry
value at HKCU\Software\Microsoft\Office\Outlook\Addins\<name of your addin>
on that problem machine. It should be 3 to get it to load on Outlook
startup.

Sincerely,

Wei Lu

Microsoft Online Community Support

==================================================

Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.

==================================================
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
 
K

Ken Slovak - [MVP - Outlook]

What version of Visual Studio did you use, what Framework version is
referenced and are you using VSTO or a shared COM addin?

Does that machine have the Outlook and Office PIA's installed? They are an
optional installation for Office 2003.

Do you distribute Extensibility.dll with your code? That is needed for
handling IDTExtensibilty2, which is needed for an addin and is not installed
by Office 2003.

You may also require installation of KB 908002
(http://support.microsoft.com/kb/908002). Check on that too.
 
R

Raj

Ken,
I am also having the similar problem with Office COM Addin.I developed
the COM Addin using Office 2003,C#,VS.NET 2005.
I installed on 2 client machines which has office 2003 and it's
working fine.recently i installed on 3 rd machine which has Office
2003 and i did not load the Addins.
I have not included the Extensibility.dll with the setup.but it works
on first 2 machines and does not on 3rd machine.

DO i need include this Extensibility.dll in order to work in 3rd
machine??? and also is there any other dlls do i need to include.

And also what should i do in order to work these addins on office xp
or Office 2000 client machines???

Can you please let me know.....


What version of Visual Studio did you use, what Framework version is
referenced and are you using VSTO or a shared COM addin?

Does that machine have the Outlook and Office PIA's installed? They are an
optional installation for Office 2003.

Do you distribute Extensibility.dll with your code? That is needed for
handling IDTExtensibilty2, which is needed for an addin and is not installed
by Office 2003.

You may also require installation of KB 908002
(http://support.microsoft.com/kb/908002). Check on that too.

--
Ken Slovak
[MVP - Outlook]http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Optionshttp://www.slovaktech.com/products.htm




I have a workstation that will not load the COM Add-in. This machine was
upgraded from OL 2000 to 2003, it is running OL 2003 SP2. I can unregister
and register the dll and it completes successfully, however it will not add
to the COM Add-ins in OL. I also manually tried to add the dll
(tools-options-other-advanced options-COM addins) and it accepted the path
but did not add it to the list. It is also not listed in disabled items.
Jack- Hide quoted text -

- Show quoted text -
 
J

Jack

I am using VS6, no Dot Net. It works for all users on 2003, it is just
failing on this worksation.

Jack
 
K

Ken Slovak - [MVP - Outlook]

OK, VS 6 is a different story.

If you manually set LoadBehavior to 3 does it become 2 when Outlook is
started? Or, in Outlook select Tools, Options, Other tab, Advanced Options
button, COM Add-Ins button and check that addin. Then OK the change, then go
back into the dialog and see if it's unchecked.

If so select Help, About Microsoft Office Outlook, Disabled Items button.
See if it's listed there. If so highlight it and click Enable. Exit and
restart Outlook and see if the addin is running then.
 
K

Ken Slovak - [MVP - Outlook]

Please do not hijack threads.

I mentioned that Extensibility.dll would have to be installed, also that KB
I referenced. Stdole.dll might have to be installed also. The Office
installation would need to install the PIAs or your pre-requisites would
have to link to the download on the MS Web site. The correct Framework
version would have to be installed.

For Outlook 2000/2002 support you would need to use the Outlook 2000 object
model, distribute the Outlook 2002 PIAs, modify them for use as Outlook 2000
PIAs (there are none), and do a number of other things. See all the
information at http://www.microeye.com/resources/res_outlookvsnet.htm for
much of what you will have to do.
 
W

Wei Lu [MSFT]

Hi Jack,

How is everything going? Please feel free to let me know if you need any
assistance.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

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