Hi, in my Angular 13 Projet I add the ReportViewer. Work well with the "online" Telerik REST service like with the CLI provided demo.
But on my .Net Core Rest service I got a 404 not found on :
If I use the clientId received by the viewer and try the same POST in Postman, I got no error and the response got Parameters [] (I test with Barcodes report that do not have anay parameters.
Why the viewer got a 404 Not found in the network tab?
In the viewer the error is:
Unable to get report parameters. Report 'Barcodes%20Report.trbp' cannot be resolved.
EDIT:
Testing directly in the CLI Telerik Demo and I got the same error. Using the Telerik Demo and online REST Telerik service:
<tr-viewer #viewer1
[containerStyle]="viewerContainerStyle"
[serviceUrl]="'https://demos.telerik.com/reporting/api/reports/'"
[reportSource]="{
report: 'Barcodes Report.trbp',
parameters: {}
}"
[viewMode]="'INTERACTIVE'"
[scaleMode]="'SPECIFIC'"
[scale]="1.0"
[ready]="ready"
[viewerToolTipOpening]="viewerToolTipOpening"
[enableAccessibility]="false">
</tr-viewer>
Hi Pierre,
Generally, the message means that the report cannot be found in the folder it is been looked for or the name is wrong. I see that you set the report property to be equal to 'Barcodes Report.trbp'. Note that .trbp is an extension for the report book. If it is just a report, please, test changing the extension to .trdp or .trdx.
I hope this information will help you. Please, let me know if you have any updates.