What would cause a template to not be found?

2 posts, 0 answers
  1. Jon
    Jon avatar
    17 posts
    Member since:
    Jul 2013

    Posted 07 Sep Link to this post

    If I have the Reporting WebAPI setup so that it's working, ie http://localhost:56200/api/v1/report/ is returning:

    [{"name":"PDF","localizedName":"Acrobat (PDF) file"},{"name":"CSV","localizedName":"CSV (comma delimited)"},{"name":"XLS","localizedName":"Excel 97-2003"},{"name":"RTF","localizedName":"Rich Text Format"},{"name":"IMAGE","localizedName":"TIFF file"},{"name":"MHTML","localizedName":"Web Archive"},{"name":"XPS","localizedName":"XPS Document"}]

    What would cause a 404 when attempting to retrieve a template? ie:


  2. Stef
    Stef avatar
    2926 posts

    Posted 07 Sep Link to this post

    Hi Jon,

    The response from the server verifies that the project has a Telerik Reporting REST service in it. The viewer may not get its HTML template on request due to incorrect serviceUrl.

    The recommended troubleshooting approach for the HTML5 Viewer is to use Fiddler or other proxy tool to check the requests, their responses and statuses. With Fiddler, information about requests and responses content can be seen in Fiddler - Inspectors - Request/Response - Raw tabs. This will let you check requests to the Reporting REST service and if the URLs are correct, if relative paths are resolved correctly.
    Relative paths may need adjustment depending on how the application is hosted -ASP.NET Web Project Paths MSDN article.

    If you need further help, please send us a SAZ file generated by Fiddler while displaying the page with the viewer. We will need a demo project illustrating your settings as well.

    Telerik by Progress
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. DevCraft banner
Back to Top