新闻建站cms系统、政府cms系统定制开发

广州网站建设公司-阅速公司

asp.net新闻发布系统、报纸数字报系统方案
/
http://www.ysneo.com/
广州网站建设公司
您当前位置:首页>网站技术

网站技术

Newtonsoft.Json.JsonReaderException Path 'unionid', line 1

发布时间:2017/11/17 9:12:55  作者:Admin  阅读:2034  

广告:

After parsing a value an unexpected character was encountered: ". Path 'unionid', line 1, position 366.

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

异常详细信息: Newtonsoft.Json.JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'unionid', line 1, position 366.

源错误:

执行当前 Web 请求期间生成了未处理的异常。可以使用下面的异常堆栈跟踪信息确定有关异常原因和发生位置的信息。

堆栈跟踪:

[JsonReaderException: After parsing a value an unexpected character was encountered: ". Path 'unionid', line 1, position 366.]

Newtonsoft.Json.JsonTextReader.ParsePostValue() +827

Newtonsoft.Json.JsonTextReader.Read() +109

Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateJObject(JsonReader reader) +301

Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) +583

Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) +173

Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) +978

Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) +310

Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) +182

Company.Controllers.MyController.Login(String shopen) in E:\aspnet2.0\nyweb_jia\Company\Controllers\MyController.cs:134

lambda_method(ExecutionScope , ControllerBase , Object[] ) +69

System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +236

System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +31

System.Web.Mvc.<>c__DisplayClassd.<InvokeActionMethodWithFilters>b__a() +85

System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodFilter(IActionFilter filter, ActionExecutingContext preContext, Func`1 continuation) +655491

System.Web.Mvc.ControllerActionInvoker.InvokeActionMethodWithFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +288

System.Web.Mvc.ControllerActionInvoker.InvokeAction(ControllerContext controllerContext, String actionName) +658100

System.Web.Mvc.Controller.ExecuteCore() +125

System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__4() +48

System.Web.Mvc.Async.<>c__DisplayClass1.<MakeVoidDelegate>b__0() +21

System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +15

System.Web.Mvc.Async.WrappedAsyncResult`1.End() +85

System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +51

System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +454

System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +263

版本信息: Microsoft .NET Framework 版本:2.0.50727.8762; ASP.NET

解决办法:用原始输出的json信息字符串,不能进行第二次处理。

广告:

相关文章
Newtonsoft
unionid
cms新闻系统购买咨询
扫描关注 广州阅速软件科技有限公司
扫描关注 广州阅速科技