Somethings to try when error such as below occur:
1. Recycle application pool
2. Clear 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.] System.Security.Cryptography.RijndaelManagedTransform.DecryptData(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount, Byte[]& outputBuffer, Int32 outputOffset, PaddingMode paddingMode, Boolean fLast) +7599262 System.Security.Cryptography.RijndaelManagedTransform.TransformFinalBlock(Byte[] inputBuffer, Int32 inputOffset, Int32 inputCount) +208 System.Security.Cryptography.CryptoStream.FlushFinalBlock() +33 System.Web.Configuration.MachineKeySection.EncryptOrDecryptData(Boolean fEncrypt, Byte[] buf, Byte[] modifier, Int32 start, Int32 length, IVType ivType, Boolean useValidationSymAlgo) +225 System.Web.Security.FormsAuthentication.Decrypt(String encryptedTicket) +246 Sitecore.Security.Authentication.AuthenticationHelper.GetCurrentUser() +125 Sitecore.Security.Authentication.AuthenticationHelper.GetActiveUser() +14 Sitecore.Security.Authentication.AuthenticationProvider.GetActiveUser() +15 Sitecore.Security.Authentication.AuthenticationManager.GetActiveUser() +24 Sitecore.Pipelines.HttpRequest.UserResolver.Process(HttpRequestArgs args) +22 (Object , Object[] ) +61 Sitecore.Pipelines.PipelineMethod.Invoke(Object[] parameters) +36 Sitecore.Pipelines.CorePipeline.Run(PipelineArgs args) +141 Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args, String pipelineDomain) +134 Sitecore.Pipelines.CorePipeline.Run(String pipelineName, PipelineArgs args) +50 Sitecore.Nexus.Web.HttpModule. (Object sender, EventArgs e) +252 System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +68 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 |
I got this error while trying to use the Content Editor for two different sites for IE. I closed IE and reopened and it worked.
ReplyDelete