404 error when using angular report viewer

2 posts, 1 answers
  1. Ivan
    Ivan avatar
    5 posts
    Member since:
    Jun 2018

    Posted 26 Jun 2018 Link to this post

    Hello,

     

    I'm using Angular Report Viewer and I'm getting the error as in attached image when I'm trying to load my report into the viewer using REST Web API service. 

    I can see in dev tools that the url that is failing is.
    http://localhost:55504/api/report/clients/706df770722/parameters

    and that the request payload is {report: "test.trdp", parameterValues: {EmployeeID: 31, Year: 2018}}.

     

    This is happening in development environment. I'm using latest VS 2017 and Telerik Reporting 12.1.18.620

  2. Answer
    Ivan
    Ivan avatar
    5 posts
    Member since:
    Jun 2018

    Posted 26 Jun 2018 in reply to Ivan Link to this post

    Solved it!

    Forgot to add ReportsControllerConfiguration.RegisterRoutes(GlobalConfiguration.Configuration); to Global.asax.cs

Back to Top