Telerik HTML5 Report Viewer - Error loading the report viewer's templates
<p>I'm having an issue trying to use Telerik REST services and their HTML5 Report Viewer. </p>

<p>Here's my scenario:</p>

<p>I have a C# console application which is hosting the REST services API. I have set this project up as per Telerik's article: <a href="http://docs.telerik.com/reporting/telerik-reporting-rest-host-http-service-using-self-hosting" rel="nofollow">How To: Self Host Telerik Reporting REST Web API</a>. This seems to be working without issue. I am able to go to <a href="http://localhost:8080/api/reports/formats" rel="nofollow">http://localhost:8080/api/reports/formats</a> and I get the expected results, which suggests to me the REST server is available and is processing requetss.</p>

<p>I then set up a separate project to run the report viewer. This is a C# Windows forms application, which has a WebBrowser element pointing to the URL of my report viewer HTML file. The Report Viewer HTML file is the default generated file when you create a new Telerik HTML 5 Report Viewer in Visual Studio - it builds all of the necessary pieces for you. Here is the code:</p>

<pre><code>&lt;!DOCTYPE html&gt;
&lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
&lt;head&gt;
    &lt;title&gt;Telerik HTML5 Report Viewer&lt;/title&gt;

    &lt;meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="IE=edge" /&gt;

    &lt;link href="http://netdna.bootstrapcdn.com/font-awesome/3.2.1/css/font-awesome.css" rel="stylesheet" /&gt;

    &lt;script src="http://code.jquery.com/jquery-1.9.1.min.js"&gt;&lt;/script&gt;

    &lt;link href="http://cdn.kendostatic.com/2013.2.918/styles/kendo.common.min.css" rel="stylesheet" /&gt;
    &lt;link href="http://cdn.kendostatic.com/2013.2.918/styles/kendo.blueopal.min.css" rel="stylesheet" /&gt;

    &lt;!--kendo.all.min.js can be used as well instead of kendo.web.min.js and kendo.mobile.min.js--&gt;
    &lt;script src="http://cdn.kendostatic.com/2013.2.918/js/kendo.web.min.js"&gt;&lt;/script&gt;
    &lt;!--kendo.mobile.min.js - optional, if gestures/touch support is required--&gt;
    &lt;script src="http://cdn.kendostatic.com/2013.2.918/js/kendo.mobile.min.js"&gt;&lt;/script&gt;

    &lt;link href="ReportViewer/styles/telerikReportViewer-9.0.15.324.css" rel="stylesheet" /&gt;
    &lt;script src="ReportViewer/js/telerikReportViewer-9.0.15.324.min.js"&gt;&lt;/script&gt;

  &lt;style&gt;
        #reportViewer1 {
            position: absolute;
            left: 5px;
            right: 5px;
            top: 5px;
            bottom: 5px;
            overflow: hidden;
            font-family: Verdana, Arial;
        }
    &lt;/style&gt;
&lt;/head&gt;
&lt;body&gt;

    &lt;div id="reportViewer1"&gt;

    &lt;/div&gt;

       &lt;script type="text/javascript"&gt;

           $(document).ready(function () {
               $("#reportViewer1")
                   .telerik_ReportViewer({ 


                       serviceUrl: "http://localhost:8080/api/reports/",

                       templateUrl: "ReportViewer/templates/telerikReportViewerTemplate-9.0.15.324.html",
                       //ReportSource - report description
                       reportSource: {
                           report: "Reports/SampleReport.trdx",                          
                           parameters: {
                               Date: new Date(),
                           }
                       },

                       viewMode: telerikReportViewer.ViewModes.INTERACTIVE,                 
                       scaleMode: telerikReportViewer.ScaleModes.SPECIFIC,
                       scale: 1.0,

                       ready: function () {
                           //this.refreshReport();
                       },
                   });
           });
    &lt;/script&gt;

&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>When I run this appliaction, the web browser loads the page, but then displays " Error loading the report viewer's templates." I've tried putting the templates on the server side of things, but I can't seem to figure out what I'm doing wrong. </p>

<p>If anybody has any suggestions as to what I could try to resolve this error, I would very much appreciate it! I am using Telerik 2015 Q1. </p>

<p>Thanks!</p>