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

Unterminated string. Expected delimiter: ". Path '2060', line 1, position 4959.

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

异常详细信息: Newtonsoft.Json.JsonReaderException: Unterminated string. Expected delimiter: ". Path '2060', line 1, position 4959.

源错误:

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

堆栈跟踪:


[JsonReaderException: Unterminated string. Expected delimiter: ". Path '2060', line 1, position 4959.]
   Newtonsoft.Json.JsonTextReader.ReadStringIntoBuffer(Char quote) +1620
   Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) +317
   Newtonsoft.Json.JsonTextReader.ReadAsDateTime() +12
   Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) +272
   Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id) +1289
   Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) +1037
   Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue) +92
   Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) +489
   Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) +198
   Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) +136
   Newtonsoft.Json.JsonConvert.DeserializeObject(String value, JsonSerializerSettings settings) +66
   Newtonsoft.Json.JsonConvert.DeserializeObject(String value) +42
   JSON.JSONConvert.Deserialize(String json) in G:\Program\F-飞亚达\FiytaShopNew\Smarta.Common\JSONConvert.cs:11
   Smarta.Web.UI.Aspx.Product.AddCookie(Int32 productId) in D:\谭远求\F-飞亚达\Smarta.Web.UI\Aspx\Product.cs:744
   Smarta.Web.UI.Aspx.Product.Detail(Int32 id) in D:\谭远求\F-飞亚达\Smarta.Web.UI\Aspx\Product.cs:616
   lambda_method(Closure , Object , Object[] ) +97
   Mines.DynamicMethodExecutor.Execute(MethodInfo methodInfo, Object instance, Object[] parameters) in D:\谭远求\F-飞亚达\Mines\DynamicMethodExecutor.cs:54
   WebAspNet.AspNetHttpModule.context_PreRequestHandlerExecute(Object sender, EventArgs e) in D:\谭远求\F-飞亚达\WebAspNet\AspNetHttpModule.cs:125
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +144
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73


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