Getting error : Could not find file 'C:\\Telerik\\WebSites\\demos.telerik.com\\reporting\\Reports\\Product Catalog.trdp'

1 Answer 34 Views
Report Viewer - Angular
amol
Top achievements
Rank 1
Iron
amol asked on 12 Jul 2021, 11:03 AM

Hello All,

From URL https://docs.telerik.com/reporting/knowledge-base/display-web-report-designer-in-angular-application

I have downloaded angular application. I have run the application, but while loading application in browser one ajax request is failing

https://demos.telerik.com/reporting/api/reportdesigner/reports/Product%20Catalog.trdp/ 

getting below error

Getting error :  Could not find file 'C:\\Telerik\\WebSites\\demos.telerik.com\\reporting\\Reports\\Product Catalog.trdp'

Has anyone faced issue regarding this?

Thanks

1 Answer, 1 is accepted

Sort by
0
Accepted
amol
Top achievements
Rank 1
Iron
answered on 12 Jul 2021, 11:28 AM

Hello All,
Got the answer of this problem.

Currently code inside designer.component.ts is

this.designer = $("#webReportDesigner")
      .telerik_WebReportDesigner({
        serviceUrl: "https://demos.telerik.com/reporting/api/reportdesigner/",
        report: "Product Catalog.trdp",
      })
      .data("telerik_WebDesigner");
  }

we need to change extension of Product Catalog.trdp => Product Catlog.trdx

So object will look like as 

this.designer = $("#webReportDesigner")
      .telerik_WebReportDesigner({
        serviceUrl: "https://demos.telerik.com/reporting/api/reportdesigner/",
        report: "Product Catalog.trdx",
      })
      .data("telerik_WebDesigner");
  }

Now system will run correctly.

Thanks

Tags
Report Viewer - Angular
Asked by
amol
Top achievements
Rank 1
Iron
Answers by
amol
Top achievements
Rank 1
Iron
Share this question
or