Skip to content

Latest commit

 

History

History
47 lines (38 loc) · 2.38 KB

File metadata and controls

47 lines (38 loc) · 2.38 KB
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

Environment

Product Progress® Telerik® Reporting
Version Q2 2012 and later
Report Viewers WinForms, WPF, ASP.NET

Description

An Error loading the report viewer's templates. (Template = /api/reports/resources/templates/telerikReportViewerTemplate-html) occurs when using the HTML5 Telerik Reporting ReportViewer.

Cause

The error message indicates that the Reporting REST service is not responding.

Solution

To solve the issue, use the following approaches:

  • Check the HTML5 Viewer serviceUrl and 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.