This is a migrated thread and some comments may be shown as answers.

404 error when using angular report viewer

1 Answer 177 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ivan
Top achievements
Rank 1
Ivan asked on 26 Jun 2018, 11:41 AM

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

1 Answer, 1 is accepted

Sort by
0
Accepted
Ivan
Top achievements
Rank 1
answered on 26 Jun 2018, 01:27 PM

Solved it!

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

Tags
General Discussions
Asked by
Ivan
Top achievements
Rank 1
Answers by
Ivan
Top achievements
Rank 1
Share this question
or