000033558 - When adding a User to RSA Archer 5.x, an unexpected error occurs: Padding is invalid and cannot be removed

Document created by RSA Customer Support Employee on Jul 21, 2016Last modified by RSA Customer Support Employee on Apr 22, 2017
Version 2Show Document
  • View in full screen mode

Article Content

Article Number000033558
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Archer
RSA Version/Condition: 5.X
Platform: Windows
 
IssueWhen trying to add a new User manually in Archer, you get
"An unexpected error has occurred"
CauseSample unexpected error from the w3wp log file:
<Description>Padding is invalid and cannot be removed.</Description>
<Exception>
  <ExceptionType>System.Security.Cryptography.CryptographicException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
  <Message>Padding is invalid and cannot be removed.</Message>
  <Source>System.Core</Source>
  <StackTrace>
at System.Security.Cryptography.CapiSymmetricAlgorithm.DepadBlock(Byte[] block, Int32 offset, Int32 count)
at System.Security.Cryptography.CapiSymmetricAlgorithm.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount)
at System.Security.Cryptography.CryptoStream.FlushFinalBlock() 
at System.Security.Cryptography.CryptoStream.Dispose(Boolean disposing)
at System.IO.Stream.Close()
at ArcherTech.Common.Cryptography.EncryptionProvider.Decrypt(String cipherText, String passPhrase, String saltValue, String hashAlgorithm, Int32 passwordIterations, String initVector, Int32 keySize)
at ArcherTech.Common.Cryptography.EncryptionProvider.Decrypt(String input, String passphrase)
at ArcherTech.Kernel.Brokers.LicensingBroker.GetContract()
at ArcherTech.Kernel.Managers.LicenseManager.GetContract(SessionContext sessionContext)
  </StackTrace>
</Exception>

 
ResolutionRe-apply the license key in the Archer Control Panel
1.  Open Archer Control Panel
2.  Select the Archer Instance in question
3.  Select Update License Key
4.  Validate correct license key is entered
5.  Fill out required fields
6.  Activate license (Automated or Manually)

Attachments

    Outcomes