HTML5 Report Viewer via Web Forms not working

2 posts, 0 answers
  1. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 04 May 2015 Link to this post

    I've gone over the guides here several times and I can not get the HTML5 viewer / REST api to work in a C# .Net 4.5 Web Forms project.

    http://www.telerik.com/help/reporting/telerik-reporting-rest-host-http-service-using-web-hosting.html

    The error I get in the Report Viewer is "Not Found: undefined"

    The error I get from the /api/reports/formats/ page is

    <Error><Message>No HTTP resource was found that matches the request URI 'http://localhost:54659/api/reports/formats'.</Message><MessageDetail>No type was found that matches the controller named 'reports'.</MessageDetail></Error>

    Please advise on how I can get this to work in a website.

  2. Rory
    Rory avatar
    159 posts
    Member since:
    Jul 2007

    Posted 04 May 2015 in reply to Rory Link to this post

    I figured out my error. In Web Forms the ReportControllers.CS has to be inside the App_Code folder. Once I moved it to there, it worked like a champ!
Back to Top