Help!

Outlook Add-in installed but it does not launch


Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins RSS
Next:  Can't open PDF files in Outlook 2003  
Author Message
Tom
External


Since: Sep 28, 2004
Posts: 467



PostPosted: Fri Aug 03, 2007 2:28 pm    Post subject: Outlook Add-in installed but it does not launch
Archived from groups: microsoft>public>outlook>program_addins (more info?)

Windows XP SP2 - Outlook 2003 - installed Outlook Add-in but it does not launch

On other XP systems it launches with no problems.

1. C# Outlook addin, compiled with the 1.1 .Net Framework.
2. We have a Connect class that implements the
Extensibility.IDTExtensibility2 interface.
3. This addin loads fine in 99% of our workstations.
4. We have tracing in our code that writes to the debug stream in all the
entry points of our Connect class (i.e. constructor, destructor, and all
implemented methods). In the cases where our Add-in's toolbar does not show
up in Outlook we do not see any logging. So we don't think the Outlook
Add-in is being called.
5. The environments with this problem:
• Have the 1.1 .Net framework
• Have the LoadBehavior in the registry set to the correct value (3) to
enable the plug-in to be loaded by Outlook. After opening and closing
Outlook the value stays the same (3), so Outlook is not failing to load the
plug-in
• Have had the 1.1 .Net Framework uninstalled and re-installed to see if
this would help
• Have other 1.1 .Net applications that work.
• We uninstalled and reinstalled Office.
• We cleared out the registry entries.
• We don't see an entry for our Add-in in Outlook-->View-->Toolbar

Main questions: Is there a way to get debug trace from Outlook that gives us
some info about the plug-in loading process? What plug-ins did outlook try
to load? Which ones failed and why? etc...

These are some things we have already tried in Outlook:
1. Setting the Tools->Marco-->Security level to low and un-checking the
check box in the Trusted Source tab.
2. Setting permissions on all the Add-in code installation files to
include everyone with all rights.
3. Turning debug on for Outlook --> There is no logging for Add-in loading.

Recommendations?

Tom
Back to top
Ken Slovak - [MVP - Outlo
External


Since: Oct 17, 2003
Posts: 3213



PostPosted: Mon Aug 06, 2007 9:12 am    Post subject: Re: Outlook Add-in installed but it does not launch [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

If OnConnection isn't firing then there's no other event you can catch for
logging or debugging. I'd take a look at Tools, Options, Other tab, Advanced
Options, COM Add-Ins and see if the addin is listed and checked. That
denotes a successful load for an addin registered in HKCU. Addins registered
in HKLM don't show up there though, since they're admin installations.

My guess is that a pre-requisite isn't installed on the problem machine. It
could be the Office or Outlook PIA or Extensibility.dll or stdole.dll.
Office 2003 doesn't install the PIA's in many cases, nor are Extensibility
or stdole installed. See if those are in the GAC and if not include them in
your setup as pre-requisites or requirements. I usually install or check for
installation of all those in my installer setups.

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


"Tom" <Tom RemoveThis @discussions.microsoft.com> wrote in message
news:56616A8B-A7CD-460A-87C2-3B647A3BCEBA@microsoft.com...
> Windows XP SP2 - Outlook 2003 - installed Outlook Add-in but it does not
> launch
>
> On other XP systems it launches with no problems.
>
> 1. C# Outlook addin, compiled with the 1.1 .Net Framework.
> 2. We have a Connect class that implements the
> Extensibility.IDTExtensibility2 interface.
> 3. This addin loads fine in 99% of our workstations.
> 4. We have tracing in our code that writes to the debug stream in all
> the
> entry points of our Connect class (i.e. constructor, destructor, and all
> implemented methods). In the cases where our Add-in's toolbar does not
> show
> up in Outlook we do not see any logging. So we don't think the Outlook
> Add-in is being called.
> 5. The environments with this problem:
> • Have the 1.1 .Net framework
> • Have the LoadBehavior in the registry set to the correct value (3) to
> enable the plug-in to be loaded by Outlook. After opening and closing
> Outlook the value stays the same (3), so Outlook is not failing to load
> the
> plug-in
> • Have had the 1.1 .Net Framework uninstalled and re-installed to see if
> this would help
> • Have other 1.1 .Net applications that work.
> • We uninstalled and reinstalled Office.
> • We cleared out the registry entries.
> • We don't see an entry for our Add-in in Outlook-->View-->Toolbar
>
> Main questions: Is there a way to get debug trace from Outlook that gives
> us
> some info about the plug-in loading process? What plug-ins did outlook
> try
> to load? Which ones failed and why? etc...
>
> These are some things we have already tried in Outlook:
> 1. Setting the Tools->Marco-->Security level to low and un-checking the
> check box in the Trusted Source tab.
> 2. Setting permissions on all the Add-in code installation files to
> include everyone with all rights.
> 3. Turning debug on for Outlook --> There is no logging for Add-in
> loading.
>
> Recommendations?
>
> Tom
>
>
Back to top
nikhilnikhil



Joined: Jan 15, 2008
Posts: 1



PostPosted: Tue Jan 15, 2008 8:15 am    Post subject: Re: Outlook Add-in installed but it does not launch [Login to view extended thread Info.]

I face same problem what u have mention in this forum, but i find out one way but which is only a temporary solution.

You need to create shared addin project which will target outlook on PC on which yo want to install your Setup. no need to write single line of code. Just build it and then install your setup it will work .
I don't know how it work

i am also facing same problem (No communication between addin and outlook ) but cant find out any solution till.

Thanks in advance

Nikhil
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Program Add-Ins All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum