Server Error in '/' Application.

Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

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: Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.

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:


[JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.]
   Newtonsoft.Json.JsonTextReader.ParseValue() +1097
   Newtonsoft.Json.JsonTextReader.Read() +103
   Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter) +77
   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
   OnlineBooking.Core.<SendAsync>d__2`1.MoveNext() in C:\Users\subhajit\Desktop\Repos\onlinebooking\Source\OnlineBooking.Core\ApiService.cs:23
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +61
   OnlineBooking.Core.<GetLocationAsync>d__6.MoveNext() in C:\Users\subhajit\Desktop\Repos\onlinebooking\Source\OnlineBooking.Core\ApiService.cs:74
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +61
   OnlineBooking.Core.<InitalizeAsync>d__38.MoveNext() in C:\Users\subhajit\Desktop\Repos\onlinebooking\Source\OnlineBooking.Core\SessionHelper.cs:115
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +61
   OnlineBooking.VB$StateMachine_41_Page_Load.MoveNext() in C:\Users\subhajit\Desktop\Repos\onlinebooking\Source\OnlineBooking\Default.aspx.vb:8
   System.Runtime.CompilerServices.<>c.<ThrowAsync>b__6_0(Object state) +52
   System.Web.<>c__DisplayClass22_0.<Post>b__0() +20
   System.Web.Util.SynchronizationHelper.SafeWrapCallback(Action action) +90
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +61
   System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +31
   System.Web.UI.<LoadRecursiveAsync>d__246.MoveNext() +392
   System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) +99
   System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) +61
   System.Web.Util.WithinCancellableCallbackTaskAwaiter.GetResult() +31
   System.Web.UI.<ProcessRequestMainAsync>d__523.MoveNext() +4680


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2558.0