Solved

VS 2005 Report Viewer PublicKey

Posted on 2009-04-14
2
997 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

In my previous article (http://www.experts-exchange.com/Programming/Languages/.NET/.NET_Framework_3.x/A_4362-Serialization-in-NET-1.html) we saw the basics of serialization and how types/objects can be serialized to Binary format. In this blog we wi…
Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now