Tuesday, June 12, 2012 7:15 AM
Hi, this is a problem which started occuring a few weeks ago and it is driving me crazy.
Everytime I run my XBAP-application from Visual Studio 2010 I get the "Publisher could not be verified"-prompt twice. Every single time.
Tried full trust and partial trust (Local Intranet) with no success.
Also tried setting all Explorer security settings to minimum (XAML browser applications: Enable / Launching applications and unsafe files: Enable).
I've also noticed that the XBAP-applications I have had running in our intranet (with partial trust / local intranet) for over a year now suddenly has started prompting users (only once though) about "Publisher could not be verified".
I'd love to get some guidance on this.. it's making my job suck bigtime.
Wednesday, June 13, 2012 7:52 AMModerator
This message indicates the certificate you use to sign your application is not trusted by the client machine. Could you check the certificate you use to sign the ClickOnce manifests?
If it still doesn't work as this question is more related to ClickOnce so you'd better ask in the ClickOnce forum:
Allen Chen [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.
- Marked As Answer by D-7 Wednesday, June 13, 2012 1:55 PM
Wednesday, June 13, 2012 1:38 PM
I checked the ClickOnce manifests information and it was not trusted. I installed it to Trusted Publishers and now it works! *cries*
Edit: More detailed steps in case someone else ever happens to get stuck at the same problem.
* Go to your project properties page, select the 'Signing' tab
* Make sure "Sign the ClickOnce manifests" is checked -> Click the 'More details...' button
* Click 'Install Certificate' (if you cant see this button, just delete your old pfx-file from solution explorer and then click Create Test Certificate) -> press Next to get past the Wizard-intro -> Check the 'Place all certificates in the following store'-radiobutton -> Click 'Browse...'
* Select Trusted Root Certification Authorities and press OK
* Press Next and then Finish to complete the wizard and do it again but install it to Trushed Publishers instead
No more security prompts while developing!
Saturday, June 30, 2012 5:54 PM
I've tried this but am still getting the security prompts.
I'm using the default pfx file that was set up with the app.
Any ideas would be useful. Any other settings needed?
Thursday, August 02, 2012 7:34 AM
EDIT: Added solution to first post
Thursday, November 29, 2012 11:37 PM
Thanks so much, I have been wrestling with this for months!
btw. I didn't delete the old pfx file, I just went ahead and clicked on "Create Test Certificate"