Solved

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

Posted on 2013-01-08
6
394 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

810 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