VSTO Addin - Using a public URL for click once deployment causes login dialog with Windows 7 only.
-
Monday, May 28, 2012 11:58 AM
I have just put together a VSTO Word document level add-in, plus an Excel application level add-in. These have just been deployed to a public URL and a currently working very well for all users.
We have added a SubKey to HKCU\Software\Microsoft\Office\14.0\Common\Spotlight\Providers\ which allows our new VSTO template to appear in the Word "New Document" menu. The ServiceURL points to https://myservice.mycompany.com/wordaddin/mytemplateconfig.xml which in turn contains the path to the template DOTX.
This works completely fine on Windows XP, and the user is prompted to install our WordAddin from the path above when they go to create a document for the first time. For users on Windows 7 though, a login dialog appears (the site doesn't use any authentication). If you cancel out of the login dialog, the addin installs correctly and works fine. The same login dialog appears whenever they create a new document from the template post-install.
It's more of an annoyance than anything critically wrong with the system - but can we prevent this from happening somehow?
Regards,
Adam.
All Replies
-
Tuesday, May 29, 2012 5:00 AMModerator
Hi Adam,
Thanks for posting in the MSDN Forum.
I can't reproduce your issue due to I have no environment. I will involve some experts into this issue. Let's see whether they can help you out. There might be some time delay, appreciate for your patience.
Have a good day,
Tom
Tom Xu [MSFT]
MSDN Community Support | Feedback to us
-
Tuesday, May 29, 2012 7:40 AM
Thanks Tom,
I look forward to hearing back from you regarding this one. If you need any assistance with reproducing the issue, please contact me.
Regards,
-
Thursday, May 31, 2012 9:58 PMModerator
Hi Adam,
Do you see Windows Security prompt to enter your credentials (See screen shot here http://blogs.msdn.com/b/ieinternals/archive/2009/11/22/clipboard-paste-bug-in-windows-7-password-prompt.aspx) or some other prompt?<o:p></o:p>
You can capture a Fiddler Network log (http://www.fiddler2.com/fiddler2/) while initiating the add-in install and see what kind of response Office receives from web site. If it is HTTP 401 that means web site is asking for credentials and fix need to be done at web site configurations.
Thanks,
Shiv Khare
- Marked As Answer by Tom_Xu_WXModerator Tuesday, June 05, 2012 7:38 AM

