telerikblazor-server-sidetelerik-reporting

How to fix the jsinterop error in Telerik Report viewer in Blazor using Visual Studio 2022 .Net 7


I have been working with Blazor and Telerik and following the course on the Telerik site but when I tried to integrate the Telerik Reporting by using Telerik report viewer component according to the course, it did not show the report in the browser and didn't gave any error in the terminal of Visual Studio as well. Generally the website is working fine but only the report page isn't working and shows these errors in the browser console. I even set up a completely new project to check the difference but even in the new project the report viewer isn't showing anything and is showing the same error. Some extra information if needed it, I am using: Visual Studio 2022, Blazor server app, .net7, Telerik latest trial version. Here are the images of errors and code:

enter image description here

enter image description here

enter image description here

enter image description here


Solution

  • Step 1: Uninstall the Telerik reporting setup from Control panel enter image description here

    Step 2: Go to the Visual Studio Tool>Nuget Package manager>Package manager setting enter image description here

    Step 3: Package Manager window will open in General and click on Clear All Nuget Storage enter image description here

    Step 4: reinstall the Telerik reporting and open your project remove all the telerik packages and reinstall them.