I get the following error in my reportviewer report when I upgraded from Visual Studio 2015 Community to Visual Studio 2017 Community.
Microsoft.Reporting.WinForms.LocalProcessingException: 'An error occurred during local report processing.'
Inner Exception DefinitionInvalidException: The definition of the report '' is invalid.
Definition of this Report is Not Valid – Solution. There are no tricks to solving this problem. All you need to do is set the RDL to the appropriate version that's supported by your SSRS server.
The RDLC stands for Report Definition Language Client side. Actually It is an extension of report file created by using Microsoft reporting technology. The SQL Server 2005 version of Report Designer is used to create these files. The ReportViewer control in client side can directly execute the RDLC reports.
An error occurred during local report processing. The definition of the report " is invalid. An unexpected error ocurred in Report Processing. Could not load file or assembly Microsoft.ReportViewer.ProcessingObjectMode.
+ InnerException {"The definition of this report is not valid or supported by this version of Reporting Services. The report definition may have been created with a later version of Reporting Services, or contain content that is not well-formed or not valid based on Reporting Services schemas.
Show activity on this post. The report definition is not valid or supported by this version of Reporting Services. This could be the result of publishing a report definition of a later version of Reporting Services, or that the report definition contains XML that is not well-formed or the XML is not valid based on the Report Definition schema.
Error pvInvalidDefinition : The definition of the report '\ACPA0100 - Campaign Revenue Variance Summary.rdl' is invalid. This error occurs when the RDL you uploaded has a version that is not supported by the SSRS server.
Please verify that you have installed the following nuget packages.
For Winforms : https://www.nuget.org/packages/Microsoft.ReportingServices.ReportViewerControl.Winforms/140.340.80
For ASP.NET : https://www.nuget.org/packages/Microsoft.ReportingServices.ReportViewerControl.WebForms/140.340.80/
You might also need to install the Report Designer :
https://marketplace.visualstudio.com/items?itemName=SqlReportingServices.MicrosoftRdlcReportDesignerforVisualStudio-18001
If it does not work, click "continue" in Visual Studio debugger when you get the exception and go see on the Web page what are the error details.
this error occurred for not installing correct packages. I have solved this problem by installing latest reportviewer control from this link
https://www.nuget.org/packages/Microsoft.ReportingServices.ReportViewerControl.WebForms/150.900.148
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With