Solved

Publish Failed Error

Posted on 2007-04-11
7
7,345 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 

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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

744 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

12 Experts available now in Live!

Get 1:1 Help Now