| title | Cannot Load HTML5 Report Viewer Templates |
|---|---|
| page_title | Error 'Cannot Load HTML5 Report Viewer Templates' occurs |
| description | Learn how to fix the error about being unable to load the Telerik Reporting ReportViewer templates in the HTML5-based viewers. |
| slug | telerikreporting/using-reports-in-applications/display-reports-in-applications/web-application/troubleshooting/html5-viewer-troubleshooting |
| previous_url | /using-reports-in-applications/display-reports-in-applications/web-application/troubleshooting/html5-viewer-troubleshooting.html |
| tags | telerik, reporting, troubleshoot, html5, reportviewer, cannot, load, templates, error, occurs |
| published | true |
| type | troubleshooting |
| res_type | kb |
| Product | Progress® Telerik® Reporting |
| Version | Q2 2012 and later |
| Report Viewers | WinForms, WPF, ASP.NET |
An Error loading the report viewer's templates. (Template = /api/reports/resources/templates/telerikReportViewerTemplate-html) occurs when using the HTML5 Telerik Reporting ReportViewer.
The error message indicates that the Reporting REST service is not responding.
To solve the issue, use the following approaches:
- Check the HTML5 Viewer
serviceUrland adjust the relative path. - Try adding
~or removing the first.. - It is recommended to test the service by address in the browser as described in the article on adding the Telerik Reporting REST web API to web applications.
- The issue might be related to duplicating routes of the WebAPI controllers. To avoid such a possibility, change the Telerik Reporting REST Web API routes registered byu default.