RDLC report stop working after change Visual Studio 2015 to Visual Studio 2017

后端 未结 2 737
不思量自难忘°
不思量自难忘° 2021-02-07 15:33

I have an AspNet MVC project in Visual Studio 2017 that was previously developed in Visual Studio 2015. This project contains many rdlc files that were working

相关标签:
2条回答
  • 2021-02-07 16:06

    I had the same problem and I solved it uninstalling the nuget packages Microsoft.ReportViewer.Runtime.Common and Microsoft.ReportViewer.Runtime.WebForms and installing the package Microsoft.ReportingServices.ReportViewerControl.WebForms.140.340.80. I would like to highlight that I had to add a reference to System.Windows.Forms because there is a dependency in the class ReportDataSource that I use to render my reports

    0 讨论(0)
  • 2021-02-07 16:17

    I right clicked the rdlc file in the solution explorer and selected replace from server and it fixed the problem for me. I think vs 2017 tries to update the schema to use a different version of sql server and getting the original report definition fixes it. Maybe, I don't know, but it worked for me.

    0 讨论(0)
提交回复
热议问题