1

I have recently went from VS 2013 to VS 2019 and have encountered issues with my rdlc's. I receive the following error when a run them

enter image description here

I was able to copy existing reports from one built in 2013 to 2019 and they seem to work however ones built within 2019 are not working.

I have tried to remove and then add the ReportViewer packages however I receive the following error

enter image description here

I don't know if I somehow broke NuGet or differences in creating a report between the two versions

Ethel Patrick
  • 885
  • 7
  • 18
  • 38

1 Answers1

1

I faced this exact problem in Visual Studio 2017, and managed to resolve it in VS 2019 as well.

Please read my answer here: How to open RDLC in Design mode

For some reports, you might be needed to remove some XML tags from your rdlc report. This link will guides you.

Hope find it helpful.. :)

A. Nadjar
  • 2,440
  • 2
  • 19
  • 20
  • Thank you that helped opening in design mode however it still gives me an error when I try running the report. – Ethel Patrick Oct 11 '19 at 11:27
  • exactly as I expected. So you need to remove some tags in the XML schema of your report. you can open the rdlc in notepad to edit the XML so as to match with the correct schema. I edited the answer for you. – A. Nadjar Oct 11 '19 at 11:38
  • I followed the removal however I don't find MustUnderstand="df" or any reference to "df" – Ethel Patrick Oct 11 '19 at 13:53
  • dear @Ether, no matter if you don't find it in the schema. just make sure it doesn't exist. some times it may bother you on other tags not mentioned in the post: like 'Page Break' tags. so remove them. you can add them later by the design view mode. In addition, creating new rdlc reports will be clean and work, not needing these steps. – A. Nadjar Oct 11 '19 at 13:59
  • 1
    Sorry in doing it over, I found that I forgot to remove the "ReportSection" opening and closing tags. It seems to be working. Thank you – Ethel Patrick Oct 11 '19 at 14:11
  • Thanks, glad to hear that ... :) – A. Nadjar Oct 11 '19 at 15:20