Source : mscorlib Message : Padding is invalid and cannot be removed. Exception : System.Security.Cryptography.CryptographicException: 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.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadToEnd() at ACS.AcsEncryption.Decrypt(Byte[] encryptedArray) at ACS.AcsEncryption.DecryptBase64(String encryptedText) at ACS.AcsEncryption.DecryptStringFromText(String encryptedData) at Utils.Decrypt(String encryptedQueryString) in c:\source\Stratops\FaxESI\HostedFax\MCPSolution\Dev\WebPortal\WebPortal\App_Code\Utils.cs:line 432 at Utils.GetAppSettingAndDecriptValue(String Key) in c:\source\Stratops\FaxESI\HostedFax\MCPSolution\Dev\WebPortal\WebPortal\App_Code\Utils.cs:line 34 at ReportViewer.Page_Load(Object sender, EventArgs e) in c:\source\Stratops\FaxESI\HostedFax\MCPSolution\Dev\WebPortal\WebPortal\ReportViewer.aspx.cs:line 51 at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) StackTrace : 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.Read(Byte[] buffer, Int32 offset, Int32 count) at System.IO.StreamReader.ReadBuffer() at System.IO.StreamReader.ReadToEnd() at ACS.AcsEncryption.Decrypt(Byte[] encryptedArray) at ACS.AcsEncryption.DecryptBase64(String encryptedText) at ACS.AcsEncryption.DecryptStringFromText(String encryptedData) at Utils.Decrypt(String encryptedQueryString) in c:\source\Stratops\FaxESI\HostedFax\MCPSolution\Dev\WebPortal\WebPortal\App_Code\Utils.cs:line 432 at Utils.GetAppSettingAndDecriptValue(String Key) in c:\source\Stratops\FaxESI\HostedFax\MCPSolution\Dev\WebPortal\WebPortal\App_Code\Utils.cs:line 34 at ReportViewer.Page_Load(Object sender, EventArgs e) in c:\source\Stratops\FaxESI\HostedFax\MCPSolution\Dev\WebPortal\WebPortal\ReportViewer.aspx.cs:line 51 at System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) at System.Web.UI.Control.OnLoad(EventArgs e) at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)