David Huby’s Blog Technical and business stuff

1Mar/101

Sitecore CryptographicException: Padding is invalid and cannot be removed.

Something to try if you get the error below: Recycle the application pool for the given website. It worked for me.

Update: If that doesn’t fix your problem, try clearing your cookies.

Server Error in '/' Application.
Padding is invalid and cannot be removed.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Security.Cryptography.CryptographicException: Padding is invalid and cannot be removed.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[CryptographicException: Padding is invalid and cannot be removed.]

Comments (1) Trackbacks (1)
  1. If that doesn’t fix your problem, try clearing your cookies.


Leave a comment