Error-ASP.NET:无效的 JSON 基元: object。
ylbtech-Error-ASP.NET:无效的 JSON 基元: object。 1. 返回顶部 1、 “/”应用程序中的服务器错误。 无效的 JSON 基元: object。 说明: 执行当前 Web 请求期间,出现未经处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。 异常详细信息: System.ArgumentException: 无效的 JSON 基元: object。 源错误: 行 23: txt.Text = jsonStr; 行 24: JavaScriptSerializer json = new JavaScriptSerializer(); 行 25: IList<Sinopec.CMS.Attachment.DataAccess.AM_AttachmentInfo> newAttachmentList = json.Deserialize<IList<Sinopec.CMS.Attachment.DataAccess.AM_AttachmentInfo>>( jsonStr ); 行 26: this.GridView1.DataSource = newAttachmentList; 行 27: this.GridView1.DataBind(); 源文件: d:\sinopec\stage2-cmis\Sinopec