17

Now that Visual Studio 2012 is released, where can I download the accompanying 2012 Report Viewer Runtime so I can install it on my server? Is there a redistributable installer included with Visual Studio 2012?

Specifically, I'm looking for the updated 2012 version of this: Microsoft Report Viewer 2010 Redistributable Package

2 Answers 2

16

I believe I've found a temporary workaround for this:

  1. In your project's references, select the Microsoft.ReportViewer.WebForms assembly.
  2. Add a reference to C:\Windows\assembly\GAC_MSIL\Microsoft.ReportViewer.Common\11.0.0.0__89845dcd8080cc91\Microsoft.ReportViewer.Common.dll
  3. In the properties window, set "Copy Local" to True for both assemblies.
  4. Deploy your project to the server.

I haven't tested this extensively, but so far it appears that simply copying the assembly to your project's bin directory satisfies the runtime requirements on the server.

2
  • 4
    I also think you need top copy the other DLLs from the GAC into the bin folder... Specifically Microsoft.ReportViewer.ProcessingObjectModel.dll Microsoft.ReportViewer.DataVisualization.DLL and Microsoft.SqlServer.Types.dll
    – MikeG
    Dec 7, 2012 at 14:06
  • @MikeG Thanks for this additional detail. I had only tested what was necessary for my own application as a stop-gap until Microsoft released the redistributable, which it appears they have done: stackoverflow.com/a/13764780/85196
    – Mike
    Dec 7, 2012 at 16:06
11

the final version of the installation program is http://www.microsoft.com/en-us/download/details.aspx?id=35747

1
  • Without SQL Server 2012 installed, this download requires the “Microsoft System CLR Types for SQL Server® 2012, you can download that (either x86 or x64 from this answer: serverfault.com/a/471782/43110 Feb 25, 2016 at 4:31

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.