Server Error in '/' Application.

The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

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.FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

Source Error:


Line 368:            catch (Exception ex)
Line 369:            {
Line 370:                throw ex;
Line 371:            }
Line 372:

Source File: c:\HostingSpaces\balajisilvercrafts.com\balajisilvercrafts.com\wwwroot\App_Code\PageBase.cs    Line: 370

Stack Trace:


[FormatException: The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters. ]
   RamEncriptDecript.PageBase.Decrypt4Detail(String strText, String strEncrypt) in c:\HostingSpaces\balajisilvercrafts.com\balajisilvercrafts.com\wwwroot\App_Code\PageBase.cs:370
   RamEncriptDecript.PageBase.decrypt4(String str) in c:\HostingSpaces\balajisilvercrafts.com\balajisilvercrafts.com\wwwroot\App_Code\PageBase.cs:322
   RamEncriptDecript.PageBase.PasswordSaltDec(String input) in c:\HostingSpaces\balajisilvercrafts.com\balajisilvercrafts.com\wwwroot\App_Code\PageBase.cs:394
   productDetails.Page_Load(Object sender, EventArgs e) in c:\HostingSpaces\balajisilvercrafts.com\balajisilvercrafts.com\wwwroot\productDetails.aspx.cs:30
   System.Web.UI.Control.OnLoad(EventArgs e) +106
   System.Web.UI.Control.LoadRecursive() +68
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


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