I am using the telerik reporting trial version in blazor. On the development machine everything works fine and report display.
But when i deploy to iis for testing, the report does not show.
Attached is an error from the console.
Kindly help.
Thank you
1 Answer, 1 is accepted
0
Momchil
Telerik team
answered on 08 Mar 2024, 02:10 PM
Hi Edwin,
Judging by the screenshot, it seems that not only the report viewer's resources cannot be loaded successfully but other static content, such as print.js and avatar_johny.jpg cannot be downloaded either.
Currently, I can only guess but a common reason for such issues is that IIS is not serving the static content. You can take a look at the following Stack Overflow thread for potential solutions.
You can also double-check the routes for the viewer's JS and CSS resources and make sure that they are valid in the context of the production environment. If you are using local copies of the files, make sure they are carried over during the deployment process and that the IIS user has permission to access them (see Why isn't IIS serving my static CSS / JS files? - Server Fault).
If the above does not help, you can attach a sample where the issue is reproducible and I will try to propose something more concrete. Alternatively, if you cannot share a sample, recording the following logs will be of help too.