Server Error in '/' Application.

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

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 1, position 1.

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 1, position 1.]
   Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType) +1455
   Newtonsoft.Json.JsonTextReader.ReadAsString() +14
   Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadForType(JsonReader reader, JsonContract contract, Boolean hasConverter) +237
   Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent) +799
   Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType) +276
   Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) +170
   Newtonsoft.Json.JsonConvert.DeserializeObject(String value, JsonSerializerSettings settings) +53
   BSI.iMIS.DocumentSelector.Services.Light.ConfigurationService.GetLicenseKey() +696
   BSI.iMIS.DocumentSelector.Custom.Pages.DocumentViewer.OnInit(EventArgs e) +334
   System.Web.UI.Control.InitRecursive(Control namingContainer) +11907916
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1598


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