Search code examples
c#sql-servervisual-studio-2012reportviewer2008

Microsoft.ReportViewer : How to upgrade Version from 8 to 11


I have developed an c# desktop app on Visual Studio 2013 and Microsoft Sql server 2012. When i deploy this app on my client system which has sql server 2008, app is running correctly but reports are not working. It throws exception:

Could find the file or assembly Microsoft.ReportViewer.Common V 11.0.0.0

When i see the assembly it has V 8.0.0.0. My question is how to upgrade this to V 11 without installing Sql server 2012 ? Is there any way to copy the new version files in assembly ?


Solution

  • Yes, it is possible. There is a runtime available for the report viewer.

    You need to download and install the following two files:

    (Don't mind that the first file has "SQL Server 2012" in its name. It's just a tiny library with a scary name required by the Report Viewer Runtime. It won't actually install SQL Server 2012. More details can be found in the "System Requirements" section of the Report Viewer Runtime link.)