000033558 - When adding a user an unexpected error occurs: Padding is invalid and cannot be removed in RSA Archer

Document created by RSA Customer Support Employee on Jul 21, 2016Last modified by RSA Customer Support on Jul 3, 2019
Version 3Show Document
  • View in full screen mode

Article Content

Article Number000033558
Applies ToRSA Product Set: Archer
RSA Product/Service Type: Archer
Platform: Windows
IssueWhen trying to add a new user manually in Archer, the following error occurs:

An unexpected error has occurred
CauseFollowing is a sample of the unexpected error from the w3wp log file:
<Description>Padding is invalid and cannot be removed.</Description>
  <ExceptionType>System.Security.Cryptography.CryptographicException, mscorlib, Version=, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
  <Message>Padding is invalid and cannot be removed.</Message>
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)


ResolutionTo resolve the error, reapply the license key in the Archer Control Panel:
  1. Open the Archer Control Panel.
  2. Select the Archer instance in question.
  3. Select Update License Key.
  4. Validate that the correct license key is entered.
  5. Fill out all required fields.
  6. Activate the license, either automated or manually.