Strange behavior after deployment of Outlook 2007 add-in

D

Doug R.

I developed a add-in Outlook 2007 that adds buttons to the context menu based
on whether the contact has phone numbers that can be dialed. Upon click of
one of them the add-in inserts an sql record that is picked up by my dialer
and the call is made. I have a godaddy cert I have signed the clickonce and
manifest with, all seems good their, it installs on client machines without
error, and shows up as a valid add-in in Outlook. When I right click I get
the menu items added I would expect, but clicking them does nothing, even if
I change the code to just display a messagebox only. This happens on all
machines other than mine (dev machine). Is there some security setting I
could be missing that isn't allowing my click events to fire???
 
D

Doug R.

I should mention the add-in accesses the current user portion of the registry
to grab information as to who the call is being placed on, so not sure that
is a potential security issue either, but as I said, it works great on the
machine I developed it on.
 
K

Ken Slovak - [MVP - Outlook]

More information please. Is this a VSTO or shared addin?

If it's a VSTO addin you need to set the client machine security, VSTO
addins require FullTrust.

There are some pinned posts with deployment information for different VSTO
versions on the home page of the VSTO community group at
http://social.msdn.microsoft.com/forums/en-US/vsto/threads/. If you are
using VSTO I'd suggest reviewing the appropriate deployment information.
 
D

Doug R.

There is a VSTO manifest file that is built by vs2008 along with the dll, so
I guess I am not sure if that means yes. when i look at add-ins under
outlook, it shows the location listing a vsto file so I am assuming it is.
 
K

Ken Slovak - [MVP - Outlook]

If it is a VSTO addin then review the deployment information where I pointed
you. That's likely to be the problem.
 
D

Doug R.

Looks like a lot of information about vsto 2005 SE, but I am using VS2008 and
clickonce to deploy with a code signed outlook add-in. I added the cert to
the client machine as a trusted publisher but that had no effect. How do you
grant trust to a clickonce install?
 
K

Ken Slovak - [MVP - Outlook]

I don't use VSTO very often, so I'm not an expert on it. If you can't find a
document there in that forum on deploying on the platform you're using I'd
suggest posting there on that forum. Someone there is likely to know the
answer.

For me I'd have to review every document there to see if anything is
relevant to you, something I don't plan to do :)
 
D

Doug R.

I got it to work. If anyone else has this issue please follow the
instructions below.


I notice when I looked in the public folder, there were no dlls that I had
references to. I went in the project, and marked the references as copy
local = true, published again, and it works fine.
 

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