Hi,
I'm having an issue with the HTML 5 report viewer. The initial POST request to create a client Id fails:
http://thoitrangkv.localhost.com/api/reports/clients
And it happens for every reports though they used to be working. I have not made changes to the report code, so I suspect the issue may have something to do with my build process.
Please assist. Thank you
{
"message"
:
"An error has occurred."
,
"exceptionMessage"
:
"Binary stream '0' does not contain a valid BinaryHeader. Possible causes are invalid stream or object version change between serialization and deserialization."
,
"exceptionType"
:
"System.Runtime.Serialization.SerializationException"
,
"stackTrace"
:
" at System.Runtime.Serialization.Formatters.Binary.__BinaryParser.Run()\r\n at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)\r\n at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)\r\n at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage)\r\n at Telerik.Reporting.Services.Engine.CacheStorage.Deserialize[T](ICache cache, String key)\r\n at Telerik.Reporting.Services.Engine.Client.Clear(Predicate`1 clearCondition)\r\n at Telerik.Reporting.Services.Engine.Client.Expire()\r\n at Telerik.Reporting.Services.Engine.ReportEngine.ClearExpiredSessions(ReportEngineState state)\r\n at Telerik.Reporting.Services.Engine.ReportEngine.RegisterClient()\r\n at Telerik.Reporting.Services.WebApi.ReportsControllerBase.RegisterClient()\r\n at lambda_method(Closure , Object , Object[] )\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass10.<GetExecutor>b__9(Object instance, Object[] methodParameters)\r\n at System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.Controllers.ApiControllerActionInvoker.<InvokeUsingResultConverterAsync>d__8.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n at System.Web.Http.Controllers.ActionFilterResult.<ExecuteAsync>d__2.MoveNext()\r\n--- End of stack trace from previous location where exception was thrown ---\r\n at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n at System.Web.Http.ApiController.<InvokeActionWithExceptionFilters>d__1.MoveNext()"
}