Publish error again, error: 0x80880253 - visual-studio

I recently repaired Visual Studio 2005 after getting a publish error.
Now I get the following error. How do I fix it?
Error 2 SignTool reported an error 'Failed to sign bin\Release\TBRHelp.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\Release\TBRHelp.publish\setup.exe

I had this exact same problem last week. To solve this problem in Visual Studio 2008, I did the following:
I right clicked on the project and selected Properties.
Then I clicked on tag Signing.
Then I checked the checkbox next to Sign the ClickOnce manifests.
Then I pressed the button Create Test Certificate... and followed the process.
This worked for me, I hope it works for you.

I am using Visual Studio 2008. When clicked on Signer les manifestes ClickOnce, I saw: Date d'expiration on 16/03/2014. Today's is 25/03/2014.
I didn't create a new certificate, but clicked on "A partir du magasin" and followed instructions.
I arrived to a certificate with expiration date at 02/06/2014, from Toshiba... (The name of my computer). I imported it and my date date of the 'expiration change from 16/03/2014 to 02/06/2014.
How can I have an automatic updated certificate date?

Related

Certificate Error Occurs When Associating Desktop Application with Microsoft Partner Center

Definition Of The Problem
I have the components specified in the document for testing applications:
Microsoft Visual Studio Community 2019 (Version 16.8.4)
Windows 10 SDK (Version 2004 - 10.0.19041.0) - SignTool.exe
Microsoft Partner Center Account (Individual Account)
However, I'm having a certificate problem while associating the application with Microsoft Partner Center via Visual Studio IDE.
Steps Followed
The steps I follow in associating the desktop application with the Microsoft Partner Center are as follows:
Cloning of the project from the remote repository.
The opening of the project solution (DiceWebSampleApps_vs2019.sln) in Visual Studio IDE.
Downloading the signable file (SignableFile.bin) from the Microsoft Partner Center.
Calling SignTool.exe from the command line to sign the file. Since SignTool.exe takes a PFX file as an argument, I used the certificate generation tool on the Visual Studio IDE. I copied the PFX file to the directory where the SignTool.exe tool will be run.
a. I opened a certificate selection window on Visual Studio IDE.
Screenshot 1: Visual Studio IDE Certificate Selection Window
b. I clicked the "Create" button to create a new certificate.
Screenshot 2: Create New Certificate
c. I created a new certificate. I uploaded the certificate (*.pfx file) created in the current directory.
Screenshot 3: Choose A New Certificate
d. I chose the new certificate created.
Screenshot 4: Viewing The New Certificate
I called the SignTool.exe tool from the command line to mark the SignableFile.bin file. When I ran the command I thought everything was fine.
Screenshot 5: Marking The SignableFile.bin File
.\signtool.exe sign /f .\<company_name>.pfx /p <password> /v .\SignableFile.bin
I ran the following command to verify the marked file. The verification command returned the following error:
Screenshot 6: Marking The SignableFile.bin File
.\signtool.exe verify /a .\SignableFile.bin
I got the following error when I tried to drag the SignableFile.bin file, which was marked ignoring the verification error, to the Microsoft Partner Center:
Screenshot 7: Error Warning Shown On Microsoft Partner Center
Help Request
I don't know enough about certificate management in Windows 10. Therefore, I tried many methods but couldn't be successful. The SignTool.exe tool and Microsoft Partner Center generated similar errors. I tried using the X.509 key pair, which is short-term and reliable to run. But the Root Certificate Manager gave the same error.
I think this might be because I'm an individual user. What can I do to fix this problem?

Crashes when trying to sign in

Came to work this monday and started up Visual Studio 2013 and it says my license has expired and I need to sign in to extend it, but when I press the sign in button VS crashes and says "Microsoft Visual Studio 2013 has stopped working".
I've tried repairing my installation of VS but I get the same error.
I've tried running VS in safe mode but I get the same error.
I've tried debugging VS and found this message "An unhandled exception of type 'System.ExecutionEngineException' occurred in Microsoft.VisualStudio.Services.WebApi.dll" but I find nothing relevant when googling it.
Any suggestions are on how to fix this are welcome. I've had this version installed since it came out and I have a license for it. And I've signed in before without problems.

VS2013 Account Sign In "Script Error" The Value of the property 'evt_LoginMobile_onload" is null or undefined

I am using Visual Studio 2013 on Windows 8.1, I already sign in with my Live ID.
I try to connect to TFS, VS tries to show me login popup but I get a white popup window then a script error popup that says
an error has occurred in the script on this page, it says the value of the property 'evt_LoginMobile_online' is null or undefined, not a function object
Code: 0
URL: https://login.live.com/login.srf?wa=wsignin1.0&wtrealm=https%3a%2f%2faccesscontrol.windows.net%2f&wreply=https%3a%2f%2ftfsprodch1acs01.accesscontrol.windows.net%2fv2%
It asks me if I want to continue running scripts. When i click yes or no, I still get the same white page and nothing happens.
Maybe this solution solves your problem,
Troubleshooting connections from Internet Explorer & Visual Studio to Visual Studio Online
Just update Internet Explorer to the newest version. I updated from version 8 to version 11 and everything went well after that...
IE 11 download link: http://www.microsoft.com/en-us/download/internet-explorer-11-for-windows-7-details.aspx
You need to add Microsoft login website URL to trusted sites from IE. Follow the URL to enable JS and add whatever URL is showing in error popup (here in image it shows as (https://login.live.com/login) open from visual studio to Trusted website, It should work afterwards.

Visual Studio encountered an unexpected network error and can’t contact the Microsoft account service

I confirgured my windows store DEV account couple of days ago. I have developed some store apps and I need to publish it in windows store. When I try to create the App packages using Visual studio 2012 Ultimate It gives me this error
Visual Studio encountered an unexpected network error and can’t contact the Microsoft account service
I followed the solution mentioned in this link http://blogs.msdn.com/b/wsdevsol/archive/2013/01/15/visual-studio-2012-throws-an-error-saying-visual-studio-encountered-an-unexpected-network-error-and-can-t-contact-the-microsoft-account-service-when-you-try-to-create-app-packages-for-the-windows-store.aspx. But it didn't work out, still getting the same error.
To solve this problem, you need to open the Internet Explorer (not others browsers) and access https://login.live.com/oauth20_desktop.srf. A popup will appear. Check the option "In the future, do not show this warning" and click OK. You should be able to complete you task. For more details, check this post

Solution for Visual Studio shows message "Error while trying tu run project:" after un signing assemblies?

a couple of days ago I signed my assemblies to test ClickOnce deployment.
All worked fine until I cannot deserialize my old binary-serialized-files, so I had to revert the code-signing of the assemblies. That's ok, I will not use ClickOnce, it was just a test.
The problem now is that Visual Studio shows the message "Error while trying to run project:" (whithout giving any more information about why that happens and with that very annoyig sound) when starting to debug. Then I must try again and the debug starts as usual unless, of course, you edit the code.
Is there a solution for that appart from re-installing VS?
Note: I tried deleting the .SUO file but the problem persists.
Solved!
The problem was that, after removing code signing (uncheck the signing options on the project properties), there was .pfx file remaining.
Just deleting that .pfx file stops the "Error while trying to run project" message.
Error comes because recently you might have un-installed Internet Browsers.
This error will come Because of not assigning the default Browser for the project.
In Visual Studio,Right click on the Project and set Internet Explorer as your Default Browser.

Resources