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

HTML5 Report Viewer via Web Forms not working

1 Answer 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Rory
Top achievements
Rank 1
Rory asked on 04 May 2015, 06:52 AM

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.

1 Answer, 1 is accepted

Sort by
0
Rory
Top achievements
Rank 1
answered on 04 May 2015, 03:05 PM
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!
Tags
General Discussions
Asked by
Rory
Top achievements
Rank 1
Answers by
Rory
Top achievements
Rank 1
Share this question
or