Solved

Publish Failed Error

Posted on 2007-04-11
7
7,353 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
The New “Normal” in Modern Enterprise Operations

DevOps for the modern enterprise offers many benefits — increased agility, productivity, and more, but digital transformation isn’t easy, especially if you’re not addressing the right issues. Register for the webinar to dive into the “new normal” for enterprise modern ops.

 

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

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

This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
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…

828 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