Solved

Why wont a signed ClickOnce application not display the Trusted Publisher?

Posted on 2013-01-08
6
408 Views
Last Modified: 2013-01-15
Attached to this question are some pictures to give you guys an idea of what we are doing.

1.

The code is signed with a Verisign Class 3 Code.

2.

It's published through Visual Studio to our Web Server.

3.

When I click on download it displays the warning message.

4.

It doesn't show the Trusted Publisher.
The only thing that I believe might be the issue is that one of the projects references the...
Microsoft.Office.Core
Microsoft.Office.Interop.Word
Microsoft.Vbe.Interop

The weird thing is that when the project is installed those dll's are not included in the project so I guess it's getting it from the GAC.

I did create a simple project and just signed it and it worked fine.  But this application is pretty big and removing the Office references would make the program completely un-buildable.

Any suggestions or ideas would be greatly appreciated.

Regards,

RAFF
SignedCode.PNG
publishpage.PNG
DownloadClickOnce.PNG
MoreInfoClickOnce.PNG
0
Comment
Question by:jjdahl
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
6 Comments
 
LVL 75

Assisted Solution

by:käµfm³d 👽
käµfm³d   👽 earned 500 total points
ID: 38761866
0
 

Author Comment

by:jjdahl
ID: 38764056
Hi Kaufmed,

Yeah I read that a thousand times, haha.  Hard to decipher but I think we have most of that down.

Here is a simple example I made that just says hello world, with clickonce and the certificate.

ClickOnce Hello World Test

You can see that it prompts you with the trusted info.

I'm using the same certificate and timestamp and everything looks good to me.  If you don't wish to click the link, I uploaded images of the prompts to give you an idea.

I'm going to start to slowly add parts to it to see which project breaks the trusted publisher section.

Thank you,

RAFF
ClickOnceInstall.jpg
ClickOnceMoreInformation.jpg
ClickOncePublisherInformation.jpg
0
 
LVL 75

Expert Comment

by:käµfm³d 👽
ID: 38764095
Well I think the part that is causing you trouble is:  "you need to configure the publisher certificate on the machine where the app will be launched with ClickOnce." I know that with regular .NET apps there is some registration with Microsoft that needs to be done in order to prevent such dialogs; perhaps with ClickOnce it is the same. Unfortunately, I found ClickOnce to be more of a pain than a blessing, and I moved away from it a while ago, so I can't really offer any deeper insight.
0
Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

 

Author Comment

by:jjdahl
ID: 38764239
I read about the Microsoft registration part in some sites as well.  Maybe I will look into that.  Thanks for trying to help. =D
0
 

Accepted Solution

by:
jjdahl earned 0 total points
ID: 38764756
Ok the answer to the problem was that on Publish -> Options -> Support url.

We where using a long link like http://www.yourwebsite.com/documents/ABC-&&YTff5643LO$$ccRUim/UserGuides/ABCDEFG/ABCDEFG.pdf

The length, special characters or the fact that it was pointing to a file could be the reason that it was causing the error.  I just changed the link to somethign shorter and no special characters and it works fine.

Kind of random if you ask me.
0
 

Author Closing Comment

by:jjdahl
ID: 38777582
It solved my problem.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Reactjs with .NET 3 78
Problem to copy file 14 53
"lblTime is not declared" 3 35
PowerShell:  Use of subproperties in a Select statement 7 28
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question