Solved

Publish Failed Error

Posted on 2007-04-11
7
7,347 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
3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

 

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

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Latency in .net app using DB in .net 21 36
Authentication of Web Services 3 54
Host asp.net pages 5 26
How to join on ID, with prefix? 15 0
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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

863 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

24 Experts available now in Live!

Get 1:1 Help Now