Search This Blog

Monday, October 3, 2016

Microsoft ATA 1.7 upgrade fails

https://social.technet.microsoft.com/Forums/en-US/c0af68af-15c4-497c-8366-0628fe9105be/17-upgrade-fails-error-code-0x80070643?forum=mata

Solution (System.Security.Cryptography.CryptographicException:   Bad Length)

1. From the C:\Program Files\Microsoft Advanced Threat Analytics\Center\MongoDB\bin directory execute:
Mongo ATA
2. Paste the above “Mongo Script” that relevant to the error, for example:

CenterThumbprint=
db.SystemProfile.find({_t:"CenterSystemProfile"}).toArray()[0]
.Configuration.SecretManagerConfiguration.CertificateThumbprint;
db.SystemProfile.update({_t:"CenterSystemProfile"},
{$set:{"Configuration.ManagementClientConfiguration.ServerCertificateThumbprint":
CenterThumbprint}})


rerun upgrade

No comments: