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

Updated TRDP Report file in Azure app service not displaying changes

6 Answers 304 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
PaulH
Top achievements
Rank 1
PaulH asked on 04 Feb 2020, 11:14 PM

I feel like I'm going mad.

We have an ASP.NET Core 2.2 app running for a client in an Azure app service. There is a single large report used within the application which, with 3 sub reports included, produces a 7 page report output. All report design files are stored as .trdp including the sub-reports. The report files are all hosted in the wwwroot\Reports folder together. I have some minor problems in the reports where some textboxes are not displaying the correct information or in one case has a typo. I've corrected all the issues in my copy of the .trdp files and I've published the entire app via VS 2017 to the Azure app service and the reports haven't changed. I've connected to Azure via FTP and manually deleted the report files and if I then run the report in the web app it tells me it can't find the report file correctly - likewise if I just delete the report file for a sub-report then the main report displays but there is an error where the sub-report should be. I re-upload my local version of the report file I'd deleted and run the report through the web app and again the report displays without errors but it still displays the previous version of the report. The report has a company logo in the header of every page of the report. If I delete the logo from my version of the report and copy that over via FTP, when I run the report the logo has gone from the report but the text is still wrong.The typo I have corrected is to change the word "clumn" to the correct spelling "column" but every time the word appears in the report missing the 'o'. I have some other textboxes that concatenate text with field values and I've had to change the fields being used or had to add additional field values together and they are not changing, the text continuing to show the previous incorrect values.

Help! What the hell is going on here? What am I missing? How can I remove a logo from the trdp file and the report displays without the logo but still shows the incorrect textboxes throughout the report? What do I need to do to make the report (and sub-reports) pick up the correct report files? I've restarted the Azure app service and shut it down completely then started it again. I've used 2 different browsers but still I get the same symptoms. I urgently need some advice to help me get to the bottom of this. The application should be live this week but can't be without the report being absolutely accurate which it currently is not.

Thanks in advance for any and all advice

6 Answers, 1 is accepted

Sort by
0
Neli
Telerik team
answered on 07 Feb 2020, 03:07 PM

Hello Paul,

Indeed the issue is strange. There are a few things that you may try:

- empty the cache of the browser;

- refresh the viewer. Because we have made optimizations of the performance, our REST service might keep still keep the previously rendered version or the incorrect report;

If the issue is not resolved, consider sending us the problematic application in a Support ticket.

Regards,
Neli
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
PaulH
Top achievements
Rank 1
answered on 07 Feb 2020, 03:11 PM
I'd already tried both of those. I did stumble on something that appeared to resolve the issue. In each report the setting to permit localised copies was set to Yes. I changed it to No on the main report and all sub-reports and re-transferred them to Azure and the reports then worked. So it seems like somehow there was a cached output of the report stored? All tests I've been running on the same data so the stored procedure being called to get the data has been with the same parameters. I now need to make a further change so it will be interesting to see whether I have the same issue again.
Shayan
Top achievements
Rank 1
commented on 15 Jul 2023, 02:43 AM | edited

Hi Paul, 
I am facing this same problem.  I have looked for the setting to permit localised copies but could not find it.  Can you please let me know where it is located.  Thank you.

 

Update. I found it but it was already set to False.

Todor
Telerik team
commented on 19 Jul 2023, 01:35 PM

Hi Shayan,

You need to set the Localizable property of the Report - Report Properties.

I suggest also the articles Localizing Reports.

Praveen
Top achievements
Rank 1
commented on 17 Aug 2023, 09:53 PM

HI Paul/Sharan,

Even I am facing the same issue. I checked the localized property and it is set to false only.

I am running build pipeline using Azure Dev Ops. Any change on report or new report added does not show up in the build artifact post build.

 

Shayan
Top achievements
Rank 1
commented on 18 Aug 2023, 12:26 AM

Hi Praveen, my issue ended up being that somehow the report file had been added to the .gitignore. Not sure if this will help your situation but its worth a try to check. 
Dimitar
Telerik team
commented on 22 Aug 2023, 02:08 PM

Hello Praveen,

Besides what has been suggested by Shayan, please make sure that the report files are part of the project so that when the project is built, they are inside the bin folder. Also, set their build action to have the reports copied to the output directory from the Visual Studio properties window

0
Neli
Telerik team
answered on 12 Feb 2020, 01:56 PM

Hi Paul,

Basically, it is possible that Azure caches the report and the old version is displayed. Can you try to make a change and upload the report with another name?

What kind of storage do you use? In addition, can you give us some steps/ video to reproduce the issue?

Regards,
Neli
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
PaulH
Top achievements
Rank 1
answered on 12 Feb 2020, 08:55 PM

I've made other changes but they've all been in the data coming back so I've had no need to issue an updated report layout file.

The issue I have with the caching thought is how come I could remove the logo from the header of the report, copy up the updated trdp file and run it and I'd get the report coming out correctly without the logo but I'd still get the wrong text in the body of the report? That doesn't make sense to me. I'd love it if you can explain what's going on there.

0
Neli
Telerik team
answered on 17 Feb 2020, 03:36 PM

Hi Paul,

I have discussed the issue with other members of the Telerik Reporting team and it seems that we have never experienced such an issue so far. Is it possible to send us the report with some sample data, so we can test it on our end? In addition, can you also send us a vide while reproducing the behaviour?

Regards,
Neli
Progress Telerik

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
0
PaulH
Top achievements
Rank 1
answered on 17 Feb 2020, 09:40 PM

I'm afraid the simple answer to your question is no. The report relies on stored procedures based on customer's data with sub-reports and the data is all very sensitive and I quite simply don't have anywhere near enough time to produce a set of decent test data to cover that off. Equally, in order to reproduce it I'd simply need considerably more time than I have right now. If that changes any time soon I'll be sure to revisit it.

Considering I now have the report working as it should I guess we can just close it and forget about it but at least we'll have a record that this occurred in case something similar comes up again.

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