Updated TRDP Report file in Azure app service not displaying changes

7 posts, 0 answers
  1. PaulH
    PaulH avatar
    70 posts
    Member since:
    Mar 2011

    Posted 04 Feb Link to this post

    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

  2. Neli
    Admin
    Neli avatar
    252 posts

    Posted 07 Feb Link to this post

    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
  3. PaulH
    PaulH avatar
    70 posts
    Member since:
    Mar 2011

    Posted 07 Feb in reply to Neli Link to this post

    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.
  4. Neli
    Admin
    Neli avatar
    252 posts

    Posted 12 Feb Link to this post

    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
  5. PaulH
    PaulH avatar
    70 posts
    Member since:
    Mar 2011

    Posted 12 Feb in reply to Neli Link to this post

    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.

  6. Neli
    Admin
    Neli avatar
    252 posts

    Posted 17 Feb Link to this post

    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
  7. PaulH
    PaulH avatar
    70 posts
    Member since:
    Mar 2011

    Posted 17 Feb in reply to Neli Link to this post

    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.

Back to Top