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

Telerik Reports generating blank on production server (after deployment)

3 Answers 469 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Valves
Top achievements
Rank 1
Valves asked on 14 Oct 2020, 04:15 AM

                                         Valves
Posted on: 21 hours ago

Hi Team,
My issue is that when I run solution locally report generated as expected but on production server it generates blank report (all export buttons and other header information populating in server correctly only data is not shown.). Below is FYI,
We have dot net application targeting dot net framework 4.5.1 and which generates reports by taking report type as a parameter. Telerik report viewer is used for this. Also I checked by connecting to production database and data is populating when executed locally so no production Database side issue.  
When I run the site (production deployed site) and open developer tools I get - javascript runtime error 'xyz' is undefined. Can you please and assist how can I fix this?

Step1: When I select report type and click on generate get screenshot1.

Step2: When I click "yes" here get Screenshot2.

3 Answers, 1 is accepted

Sort by
0
Todor
Telerik team
answered on 16 Oct 2020, 12:18 PM

Hi,

If the viewer is displayed and the problem is that the report is generated without data, I think that the JavaScript error cannot be blamed for the issue. Note that this error is related to the NavigateBack button that seems to be displayed.

Can you attach a Trace Listener to the project with the viewer? I hope our code will log information that will shed some light on the problem.

What data source do you use in the report?

Can you send us the report definition?

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

0
Valves
Top achievements
Rank 1
answered on 22 Oct 2020, 08:06 AM

Data source we are using is Sql server. Below are detail steps to generate report.

1.Login to site.

2.Search for required input as shown in screenshot - S1.

3.Get matched records in grid. Select any one and its detail gets populated as shown in screenshot - S2.

4.Select any one report that we want to generate (input passed - reportType and selected item id) as shown in screenshot - S3.

5.Report generated.

report generated locally but when same is executed on server (production) then empty report generated.

 

0
Todor
Telerik team
answered on 27 Oct 2020, 07:24 AM

Hi,

Thank you for clarifying the scenario. Unfortunately, the provided information relevant to Telerik Reporting integration into the application is not sufficient for diagnosing the problem.

We would need the log file from a Trace Listener attached to the project with the viewer and the report definition.

Regards,
Todor
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Tags
General Discussions
Asked by
Valves
Top achievements
Rank 1
Answers by
Todor
Telerik team
Valves
Top achievements
Rank 1
Share this question
or