Server Error in '/goswift' 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:


Line 152:            // throw new Exception("URL_TMPR");
Line 153:            //HttpContext.Current.Response.Redirect("~/CustomError.aspx");
Line 154:            throw EX;
Line 155:        }
Line 156:    }

Source File: c:\WEBROOT\SWPGOO\SWPAPP\App_Code\QueryStringEncModule.cs    Line: 154

Stack Trace:


[CryptographicException: Padding is invalid and cannot be removed.]
   QueryStringEncModule.Decrypt(String inputText) in c:\WEBROOT\SWPGOO\SWPAPP\App_Code\QueryStringEncModule.cs:154
   QueryStringEncModule.context_BeginRequest(Object sender, EventArgs e) in c:\WEBROOT\SWPGOO\SWPAPP\App_Code\QueryStringEncModule.cs:49
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +142
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +92


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.6.1586.0