Solved

Publish Failed Error

Posted on 2007-04-11
7
7,350 Views
Last Modified: 2012-06-27
I am using VB.NET, trying to publish changes and I am receiving this error

Error 94  -  SignTool reported an error 'Failed to sign .\bin\STS System.publish\\setup.exe. SignTool Error: ISignedCode::Sign returned error: 0x80880253
      The signer's certificate is not valid for signing.
SignTool Error: An error occurred while attempting to sign: .\bin\STS System.publish\\setup.exe


Can anyone tell me what this means?  I have a full version, licensed and have published 27 other versions of the application that I have built
0
Comment
Question by:chellert
7 Comments
 

Author Comment

by:chellert
ID: 18897222
Found the issue.  The ClickOnce Manifest signature key had expired.
0
 

Accepted Solution

by:
EE_AutoDeleter earned 0 total points
ID: 19112655
chellert,
Because you have presented a solution to your own problem which may be helpful to future searches, this question is now PAQed and your points have been refunded.

EE_AutoDeleter
0
 

Expert Comment

by:ChristopherSmith
ID: 20063828
I'm trying to find a solution that allows me to continue publishing updates to my application without causing a problem with the existing user base.  My understanding is if the certificate expiration date isn't updated a certain way, clients will not only be unable to update to the latest version but may be unable to run the previous version which could cause work stoppage.
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.

 

Expert Comment

by:ChristopherSmith
ID: 20066922
I finally managed to resolve this problem such that my users would not have to uninstall and reinstall the application.  On the Signing tab in my project properties, my certificate Issued To and Issued By myself (MYDOMAIN\myusername) showed that it expired on 9/27/2007 so I was getting the error reported in this thread.  I downloaded a file named renewcert.exe from http://www.may.be/renewcert  and copied the file into my application folder which contained my certificate file which in my case was named Shell_TemporaryKey.pfx.  As a precaution, I made a copy of the pfx file in another folder for safety.  Then, from a command prompt and from that same application folder, I entered the following command:

renewcert Shell_TemporaryKey.pfx Shell_TemporaryKey.pfx CN=MYDOMAIN\myusername

Note that I did not specify a password originally so I didn't include any password on the command line.  Next, I went back to the Signing tab and chose the Select From File option to choose the updated Shell_TemporaryKey.pfx file and the Issued To and Issued By names were the same as before and the expiration date was now 5 years into the future or 10/12/2012.  After that, I was able to publish again successfully and my users were able to update the application normally without getting the error "The deployment identity does not match the subscription" and without having to uninstall / reinstall.
0
 
LVL 1

Expert Comment

by:shieldguy
ID: 20491317
When i try to execute the renewcert  I received the error the system cannont execute the specified program
0
 

Expert Comment

by:ChristopherSmith
ID: 20491477
I'm presuming that you downloaded the renewcert.exe from the website shown and that you followed my instructions.  Perhaps it is an operating system difference?  I was working on a Windows XP Pro system.  
0
 
LVL 1

Expert Comment

by:shieldguy
ID: 20493027
It is windows xp professional, I am executing the file using the dos command prompt which is availabel in the winxp

Or sould I do it using some other way ???
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

773 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