Hello. I've faced a problem trying to use HTML5 MVC Report viewer when using a .dll file loaded during runtime. I'm using a custom report resolver which creates TypeReportSource, sets a type name which I get from the loaded .dll and then returns the created report source. However, the report viewer displays an error. (Stack trace below).
Is it possible to use reporting service with a dynamically loaded .dll like that? Or is it only possible if I reference the .dll in my project directly (when I do that, everything works, but this is obviously not a desired way for me)
stackTrace: " в Telerik.Reporting.Processing.TypeReportDocumentResolver.Resolve(IProcessingContext context, TypeReportSource rs)<
br
>↵ в Telerik.Reporting.Processing.ReportDocumentResolver`1.Telerik.Reporting.Processing.IReportDocumentResolver.Resolve(IProcessingContext context, ReportSource rs)<
br
>↵ в Telerik.Reporting.Processing.ReportDocumentResolver.<>c__DisplayClass1.<
Resolve
>b__0(IReportDocumentResolver r)<
br
>↵ в Telerik.Reporting.Processing.ReportDocumentResolver.Bind[T](IProcessingContext context, ReportSource source, Func`2 func)<
br
>↵ в Telerik.Reporting.Processing.ReportDocumentResolver.Resolve(IProcessingContext context, ReportSource source)<
br
>↵ в Telerik.Reporting.Processing.ResolvedReportDocument.ResolveReportsRecursively(ReportSource rs, IProcessingContext context, IDictionary`2 parentRsParameters, Boolean parentShouldDispose, List`1 result, IReportDocument& definition, ResolvedReport& tocReport, ReportBookTocPosition& tocReportPosition)<
br
>↵ в Telerik.Reporting.Processing.ResolvedReportDocument.Create(ReportSource rs, IProcessingContext context)<
br
>↵ в Telerik.Reporting.Services.Engine.ReportEngine.GetParameters(String clientID, String report, Dictionary`2 parameterValues)<
br
>↵ в Telerik.Reporting.Services.WebApi.ReportsControllerBase.GetParameters(String clientID, ClientReportSource reportSource) в c:\temp\reporting\RBuild-18776\Reporting_Build\Source\Code\Telerik.Reporting.Services.WebApi\ReportsControllerBase.cs:строка 166<
br
>↵ в lambda_method(Closure , Object , Object[] )<
br
>↵ в System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.<>c__DisplayClass6_1.<
GetExecutor
>b__3(Object instance, Object[] methodParameters)<
br
>↵ в System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ActionExecutor.Execute(Object instance, Object[] arguments)<
br
>↵ в System.Web.Http.Controllers.ReflectedHttpActionDescriptor.ExecuteAsync(HttpControllerContext controllerContext, IDictionary`2 arguments, CancellationToken cancellationToken)<
br
>↵--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---<
br
>↵ в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<
br
>↵ в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<
br
>↵ в System.Web.Http.Controllers.ApiControllerActionInvoker.<
InvokeActionAsyncCore
>d__1.MoveNext()<
br
>↵--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---<
br
>↵ в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<
br
>↵ в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<
br
>↵ в System.Web.Http.Controllers.ActionFilterResult.<
ExecuteAsync
>d__5.MoveNext()<
br
>↵--- Конец трассировка стека из предыдущего расположения, где возникло исключение ---<
br
>↵ в System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)<
br
>↵ в System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)<
br
>↵ в System.Web.Http.Controllers.ExceptionFilterResult.<
ExecuteAsync
>d__6.MoveNext()"