Telerik Report viewer not working when combined with Asp.net core in Asp .net Boilerplate
See original GitHub issueReports in Telerik report viewer don’t display with Asp.net core framework in Asp.net boilerplate.
I have searched about it a lot. Check this.
(https://www.telerik.com/forums/asp-net-core-2-issue-with-reporting-r1-2019-and-antiforgery-token)
- Your Abp package version : 4.6.0
- Your base framework: Asp.net core 2.0 with Multipage web application (.net core 2.2 , .net framework 4.6.1)
- Exception : Invalid Client Id
- Steps needed to reproduce the problem :
- Select ABP solution with .Net core 2.0 and Multipage web application.
- Now try to Add Telerik report viewer and show data for Customer table.
- It will give you
invalid client id
error in console and wont display data in report viewer.
This thing will work if we create a separate solution for rest apis. It also works if use Asp.net mvc framework instead of Asp.net core.
Images attached as :
Have also added this issue in stack overflow : (https://stackoverflow.com/questions/56363549/telerik-report-viewer-not-working-when-combined-with-asp-net-core-in-asp-net-bo)
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (3 by maintainers)
Top Results From Across the Web
Telerik Report viewer not working when combined with Asp ...
Telerik Report viewer not working when combined with Asp.net core in Asp .net Boilerplate · 0 · Know someone who can answer? Share...
Read more >Error Conecting Report to an ASP.NET Core application
The error indicates that you try to open or render a report created with the Telerik Reporting version R1 2023 with an older...
Read more >Integrate Telerik Reporting in ASP.NET Core 3.1 MVC Projects
The demonstrated approach to solve this issue is based on the Host Reports Service In ASP.NET Core 3+ article. You can also apply...
Read more >Embedding Reporting into Your ASP.NET Core Web ...
This blog post demonstrates how to embed the Telerik HTML5 Report Viewer (or viewer for short) and host the Telerik Reporting REST Service...
Read more >Cannot access the Reporting REST service
The error indicates that the Telerik Reporting REST Service is not working properly or cannot be accessed by the viewer. Solution. There are...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@kfrancis according to error message
[IgnoreAntiforgeryToken]
must be used. If you find a way to add custom headers to Teleriks requet for getting report data, you can useabp.security.antiForgery.getToken()
on JavaScript side to get value of AntiForgery token and add it to request headers.This might work for you https://aspnetboilerplate.com/Pages/Documents/XSRF-CSRF-Protection#intercept-xmlhttprequest
@ryancyq This is the only console error we get “Uncaught (in promise) Invalid ClientId” We don’t get any stack trace in VS. I can upload the solution to GitHub if you would like to check.