Run-Time Error: Method not found: 'System.Collections.Generic.List`

1 Answer 162 Views
.NET Framework Programming Report Viewer - Blazor
Joe
Top achievements
Rank 1
Joe asked on 17 Sep 2024, 09:24 PM

I'm trying to find an error in my code, but I don't even know where to look. How can we get support from Telerik to help identify the exception?

How do we get more detail from errors like this?

[MissingMethodException: Method not found: 'System.Collections.Generic.List`1<System.Collections.Generic.IEnumerable`1<!0>> Telerik.Reporting.Processing.DocumentParametersManager`1.GetParametersByReports()'.]
   Telerik.ReportViewer.WebForms.ReportRenderOperation.ProcessReport(ReportSource reportSource, Hashtable deviceInfo, IRenderingContext renderingContext) +0
   Telerik.ReportViewer.WebForms.ReportRenderOperation.PerformOperationOverride() +226
   Telerik.ReportViewer.WebForms.ReportPageOperation.PerformOperationOverride() +88
   Telerik.ReportViewer.WebForms.HandlerOperation.PerformOperation(HttpContext context, ICacheManager cacheManager) +49
   Telerik.ReportViewer.WebForms.BasicHandler.ProcessRequest(HttpContext context) +182
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +195
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +50
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +73

 

 

1 Answer, 1 is accepted

Sort by
0
Ivet
Telerik team
answered on 20 Sep 2024, 03:23 PM

Hi Joe,

I am sorry to hear about this issue.

This is not a common error message but we have had clients with a similar issue. The problem was with having references to incorrect Telerik Reporting assemblies. In his case, they had references to assemblies targeting the .NET Standard, and the issue was resolved after referencing the correct assemblies for their project, in their case, for the .NET Framework. Please also make sure that all Telerik Reporting references, assemblies, etc. are of the same version, there shouldn't be any mismatches.

Another option may be that the System.Collections.Generic namespace is older than expected, for example, due to the upgrade of the .NET Framework to 4.6.2 we introduced recently.
See c# - Getting the System.MissingMethodException, for extension method for sorting of a generic list - Stack Overflow.

I suggest checking the exact versions of the loaded assemblies in the Visual Studio Modules Window.

If the above information isn't enough to resolve the issue, please consider attaching a trace listener and sending us the generated log. You might also consider opening a support ticket and sending us a runnable project that can demonstrate this issue and we will inspect it locally.

Regards,
Ivet
Progress Telerik

Stay tuned by visiting our roadmap and feedback portal pages, enjoy a smooth take-off with our Getting Started resources, or visit the free self-paced technical training at https://learn.telerik.com/.
Tags
.NET Framework Programming Report Viewer - Blazor
Asked by
Joe
Top achievements
Rank 1
Answers by
Ivet
Telerik team
Share this question
or