The source of the report definition has not been specified.

1 Answer 39 Views
Report Viewer - ASP.NET
Ryan
Top achievements
Rank 1
Ryan asked on 14 Jul 2021, 07:01 AM

Recently we have noticed that we're having this error on our Live site "The source of the report definition has not been specified." but working on local.

Were still using file version 9.2.15.1105 for both Telerik.Reporting.dll and Telerik.ReportViewer.WebForms.dll.

No code changes or whatsoever.

Any ideas why this happen?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 16 Jul 2021, 01:19 PM

Hello Ryan,

The Resources.MissingReportSource Property indicates there is no set report source for the current ReportViewer control.

To verify you are using one version of Telerik Reporting in your solution, please run the Upgrade Wizard in all related projects - Upgrading Telerik Reporting Projects.

Then check where the report is located and if its assembly is referenced by the project with the viewer, or if the TRDP|TRDX file is accessible by the viewer's project(you may not have permission to access the reports folder).

Note that depending on the used viewer and the format of the report, you need to use the correct Report Source object to request a report for preview - How to: Set ReportSource for Report Viewers.

Also, please note that the ASP.NET Report Viewer is now considered legacy. I strongly recommend migrating to the new HTML5 based report viewer - Migrate to the HTML5 Viewer from the old ASP.NET WebForms ReportViewer control and also to consider upgrading to a newer version.

If you need further help, please post a code snippet illustrating the settings of the viewer and how you set the report that will be displayed

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Viewer - ASP.NET
Asked by
Ryan
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or