Solved

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

Posted on 2013-01-08
6
370 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 74

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 74

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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

If you’re thinking to yourself “That description sounds a lot like two people doing the work that one could accomplish,” you’re not alone.
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
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 …
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…

708 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now