Solved

VS 2005 Report Viewer PublicKey

Posted on 2009-04-14
2
1,019 Views
Last Modified: 2013-11-26
Just got this Warning out of nowhere...haven't done anything with Reports for months in my program:

The value of the 'PublicKey' attribute in 'Microsoft Visual Studio 2005 Report Viewer' does not match that of file 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\ReportViewer\ReportViewer.exe

What do I do?
0
Comment
Question by:dreinmann
2 Comments
 
LVL 48

Expert Comment

by:jpaulino
ID: 24235058
0
 

Accepted Solution

by:
dreinmann earned 0 total points
ID: 24251437
Tried the RenewCert process, good to have, but didn't work for my problem.

Here's what I had to do to fix it:
Get the Public Key of the executable it was referring to (C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bootstrapper\Packages\ReportViewer\ReportViewer.exe)...I use the Bootstrapper Manifest Generator to get it.  (New Project > Add File...ReportViewer.exe > Go to the Security Tab to get the Public Key)
Copy the updated Public Key in the 'C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer\product.xml' file where it shows the wrong Public Key number.
Save.  Rebuild.

Warning should go away.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes relatively difficult and non-obvious issues that are likely to arise when creating COM class in Visual Studio and deploying it by professional MSI-authoring tools. It is assumed that the reader is already familiar with the cla…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question