none
ReportViewer compile error RRS feed

  • Question

  • I have an application that uses the ReportViewer which is referenced from one of my projects.  The setup program also has the report viewer as a prerequisite.  Lately I am getting the following error.  Anyone have an idea how to correct the problem causing the error?

    Warning 1 The value of the 'PublicKey' attribute in 'Microsoft Visual Studio 2008 Report Viewer' does not match that of file 'C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\ReportViewer\ReportViewer.exe'. D:\function\RAMS IP Project\RAMSInstall\RAMSInstall.vdproj RAMSInstall


    John J. Hughes II
    www.FunctionInternational.com
    • Moved by Harry Zhu Wednesday, October 21, 2009 8:17 AM relating to reportviewer (From:Visual C# General)
    Monday, October 19, 2009 7:04 PM

Answers

  • ok so I resolved this issue by

    1. downloading the newer reportviewer.exe from here:

    http://www.microsoft.com/downloads/details.aspx?familyid=BB196D5D-76C2-4A0E-9458-267D22B6AAC6&displaylang=en

    2. I copied it to C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\ReportViewer\ReportViewer.exe, after renaming the existing file to reportviewer.exe.old. 


    • Proposed as answer by jdroger2 Sunday, November 1, 2009 4:57 PM
    • Marked as answer by jjhii Monday, November 2, 2009 1:46 PM
    Sunday, November 1, 2009 4:57 PM

All replies

  • I too am having this same warning, did you find a fix for this?
    Sunday, November 1, 2009 4:41 PM
  • ok so I resolved this issue by

    1. downloading the newer reportviewer.exe from here:

    http://www.microsoft.com/downloads/details.aspx?familyid=BB196D5D-76C2-4A0E-9458-267D22B6AAC6&displaylang=en

    2. I copied it to C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bootstrapper\Packages\ReportViewer\ReportViewer.exe, after renaming the existing file to reportviewer.exe.old. 


    • Proposed as answer by jdroger2 Sunday, November 1, 2009 4:57 PM
    • Marked as answer by jjhii Monday, November 2, 2009 1:46 PM
    Sunday, November 1, 2009 4:57 PM
  • Yep that did the tick for me too, thanks!  I had tried installing the kit, did not occur to replace that file with it.


    John J. Hughes
    www.functioninternational.com/
    Monday, November 2, 2009 1:46 PM
  • Thanks - this was very helpful.
    Thursday, September 16, 2010 1:08 PM
  • This worked for me.  I'm using Visual Studio 2008.
    Tuesday, January 31, 2012 9:51 PM
  • Worked me too. Thanks!
    Tuesday, June 5, 2012 7:08 PM