Microsoft.ReportViewer.Common -> Error in compilation WebSite


in an old ASP.NET WebForms solution I am having problems compiling it about the ReportViewer component. In particular I get the following build error:

Could not load file or assembly 'Microsoft.ReportViewer.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

In the web.config file I have these 2 rows:

 <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

<add assembly="Microsoft.ReportViewer.Common, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>

How can I solve this problem?

Thanks a lot in advance.


asked on Stack Overflow Feb 7, 2020 by Ciupaz • edited Feb 7, 2020 by Ciupaz

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0