Dears,
I'm new to telerik reporting tools, after I walk through the tutorials and the demos I've keep getting the following error message when trying to view the report : No HTTP resource was found that matches the request URI 'http://localhost:28480/api/reports/formats'. although I've registered the api route in the global.asax
ReportsControllerConfiguration.RegisterRoutes(GlobalConfiguration.Configuration);
my report controller class :
using System.IO;
using System.Web;
using Telerik.Reporting.Cache.File;
using Telerik.Reporting.Services;
using Telerik.Reporting.Services.Engine;
using Telerik.Reporting.Services.WebApi;
public class ReportsController : ReportsControllerBase
{
static Telerik.Reporting.Services.ReportServiceConfiguration configurationInstance =
new Telerik.Reporting.Services.ReportServiceConfiguration
{
HostAppId = "Application1",
ReportResolver = new ReportFileResolver(HttpContext.Current.Server.MapPath("~/Reports"))
.AddFallbackResolver(new ReportTypeResolver()),
Storage = new Telerik.Reporting.Cache.File.FileStorage(),
};
public ReportsController()
{
this.ReportServiceConfiguration = configurationInstance;
}
}
I'm using asp.net MVC 5 , and web api assemblies are already referenced , I have many web api controllers in the project that are working properly.
please advise.