“/”应用程序中的服务器错误。

输入的不是有效的 Base-64 字符串,因为它包含非 Base-64 字符、两个以上的填充字符,或者填充字符间包含非法字符。

说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.FormatException: 输入的不是有效的 Base-64 字符串,因为它包含非 Base-64 字符、两个以上的填充字符,或者填充字符间包含非法字符。

源错误:


行 105:            if (Request.QueryString["id"] != null)
行 106:            {
行 107:                Model.Qyz_dynamicinformationModel model = Qyz_dynamicinformationBLL.GetQyz_dynamicinformationByPK(Convert.ToInt32(encry.Decrypt(Request.QueryString["id"])));
行 108:                if (model != null)
行 109:                {

源文件: d:\项目\crm\qdrencai\job\qiyezhan\informationInfo.aspx.cs    行: 107

堆栈跟踪:


[FormatException: 输入的不是有效的 Base-64 字符串,因为它包含非 Base-64 字符、两个以上的填充字符,或者填充字符间包含非法字符。]
   System.Convert.FromBase64_Decode(Char* startInputPtr, Int32 inputLength, Byte* startDestPtr, Int32 destLength) +12654938
   System.Convert.FromBase64CharPtr(Char* inputPtr, Int32 inputLength) +133
   System.Convert.FromBase64String(String s) +43
   CommonLibrary.EncryptLibrary.Decrypt(String decryptText) in D:\net项目\老项目\net项目\青岛人才\wangzhan\CommonLibrary\EncryptLibrary.cs:220
   qiyezhan_informationInfo.Page_Load(Object sender, EventArgs e) in d:\项目\crm\qdrencai\job\qiyezhan\informationInfo.aspx.cs:107
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +52
   System.Web.UI.Control.OnLoad(EventArgs e) +97
   System.Web.UI.Control.LoadRecursive() +61
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +693


版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.8.4465.0