While running the web application of my project (DXA 1.5 & SDL Web 8), I get below error in cd_client.log
file.
ERROR [Sdl.Web.Delivery.ADF.Ambient Runtime.OnRequestStart] - Failed to send claim store
Exception Details:
EXCEPTION: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NotSupportedException: Specified method is not supported.
StackTrace:
2018-04-16 21:29:54 ERROR [Sdl.Web.Delivery.ADF.AmbientRuntime.ExecuteODataAction] - Failed to send claimstore
EXCEPTION:
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.NotSupportedException: Specified method is not supported.
at System.Web.HttpResponseStream.get_Length()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Sdl.Web.Delivery.Core.ReflectionUtils.<>c__DisplayClass37_0.<GetGetMethodByReflection>b__0(Object source)
at Sdl.Web.Delivery.Core.JsonParser.TrySerializeUnknownTypes(Object input, Object& output)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeObject(IEnumerable keys, IEnumerable values, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeObject(IEnumerable keys, IEnumerable values, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeObject(IEnumerable keys, IEnumerable values, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeObject(IEnumerable keys, IEnumerable values, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeObject(IEnumerable keys, IEnumerable values, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.SerializeValue(Object value, StringBuilder builder)
at Sdl.Web.Delivery.Core.JsonParser.Serialize(Object obj)
at Sdl.Web.Delivery.ADF.ClaimStore.ClaimStore.SeraializeJson()
at Sdl.Web.Delivery.ADF.AmbientRuntime.ExecuteODataAction(HttpApplication application, IDictionary contextItems, Boolean requestStart, Boolean sessionIsNew)
Any idea why this is coming, and how this can be avoided?
Thanks, Sharad