Home Home
  login

Gemini Community Support Site

This Gemini community support site can be used to find solutions to product issues. You can log in using Open Id, Google Profile and even Facebook. Feel free to ask a question or browse FAQs and documentation. Product tour videos are also available along with how-to videos demonstrating key Gemini capabilities.




Padding is invalid and cannot be removed

web-app

Hi,

I'm seeing the message, "Padding is invalid and cannot be removed" being reported a lot in the error log and was wondering if there's anything I should tend to?

Thanks, Chris

acrmartin
· 1
acrmartin
Replies (6)
helpful
0
not helpful

Which version of Gemini are you running? Can you post the full details?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

Hi, Yes, we're running v4.0 and I'm seeing the following error reported for various users. It seems to have started since we switched on Windows Authentication:

Padding is invalid and cannot be removed. at System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) at System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) at System.Security.Cryptography.CryptoStream.FlushFinalBlock() at System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo) at System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) at CounterSoft.Gemini.Presenter.GeminiHttpModule.Application_AuthenticateRequest(Object source, EventArgs e)


acrmartin
· 1
acrmartin
helpful
0
not helpful

How often do you get this error? Did anyone report any issues?


Saar Cohen
· 5000
Saar Cohen
helpful
0
not helpful

I haven't heard any issues yet but I've seen it appear approximately a couple of times a day.


acrmartin
· 1
acrmartin
helpful
0
not helpful

It might be due to session expiry or app pool recycling. Nothing to worry about.


Mark Wing
· 9108
Mark Wing
helpful
0
not helpful

Thanks.


acrmartin
· 1
acrmartin