Server Error in '/' Application.
Could not cast or convert from System.Int64 to ViOlympic.Data.UserExamResult.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.Exception: Could not cast or convert from System.Int64 to ViOlympic.Data.UserExamResult.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
[Exception: Could not cast or convert from System.Int64 to ViOlympic.Data.UserExamResult.]
Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable(Object value, Type initialType, Type targetType) +446
Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast(Object initialValue, CultureInfo culture, Type targetType) +138
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(Object value, Type targetType) +159
[JsonSerializationException: Error converting value 1 to type 'ViOlympic.Data.UserExamResult'.]
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType(Object value, Type targetType) +461
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue) +247
Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueNonProperty(JsonReader reader, Type objectType, JsonContract contract) +182
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) +133
Newtonsoft.Json.JsonConvert.DeserializeObject(String value, JsonSerializerSettings settings) +51
Newtonsoft.Json.JsonConvert.DeserializeObject(String value) +62
ViOV3.Controller.UserExamController.EndRound(Int32 userId) +103
ViOV3.Play.InsertResult(User userinfo, ExamingInfo examinfo) +781
ViOV3.Play.Page_Load(Object sender, EventArgs e) +1803
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +25
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +42
System.Web.UI.Control.OnLoad(EventArgs e) +132
System.Web.UI.Control.LoadRecursive() +66
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2428
Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5483
đang được dịch, vui lòng đợi..
