Error-ASP.NET:无效的 JSON 基元: object。
2021-05-13 00:30
阅读:699
标签:类型 bsp view mis let 必须 list test RoCE
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
|
源文件: d:\sinopec\stage2-cmis\Sinopec.CMS.Web\Default5.aspx.cs 行: 25
堆栈跟踪:
[ArgumentException: 无效的 JSON 基元: object。] System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializePrimitiveObject() +597807 System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +226 System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeList(Int32 depth) +186 System.Web.Script.Serialization.JavaScriptObjectDeserializer.DeserializeInternal(Int32 depth) +194 System.Web.Script.Serialization.JavaScriptObjectDeserializer.BasicDeserialize(String input, Int32 depthLimit, JavaScriptSerializer serializer) +78 System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(JavaScriptSerializer serializer, String input, Type type, Int32 depthLimit) +44 System.Web.Script.Serialization.JavaScriptSerializer.Deserialize(String input) +70 Default5.btnShowAccordingInfo_Click(Object sender, EventArgs e) in d:\sinopec\stage2-cmis\Sinopec.CMS.Web\Default5.aspx.cs:25 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9782378 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639 |
版本信息: Microsoft .NET Framework 版本:4.0.30319; ASP.NET 版本:4.7.3062.0
2、
2.返回顶部 |
3.返回顶部 |
4.返回顶部 |
5.返回顶部 |
6.返回顶部 |
![]() |
作者:ylbtech 出处:http://ylbtech.cnblogs.com/ 本文版权归作者和博客园共有,欢迎转载,但未经作者同意必须保留此段声明,且在文章页面明显位置给出原文连接,否则保留追究法律责任的权利。 |
Error-ASP.NET:无效的 JSON 基元: object。
标签:类型 bsp view mis let 必须 list test RoCE
原文地址:https://www.cnblogs.com/storebook/p/12002960.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:Error-ASP.NET:无效的 JSON 基元: object。
文章链接:http://soscw.com/index.php/essay/84928.html
文章标题:Error-ASP.NET:无效的 JSON 基元: object。
文章链接:http://soscw.com/index.php/essay/84928.html
评论
亲,登录后才可以留言!