Find an PublicKeyBlob from an assembly

A colleague of mine had a problem today where she connected to RSWebParts on MOSS 2007 and SharePoint gave her a security exception.

The solution was to make an exception for the RSWebparts assembly in WSS_MinimalTrust.config.

The problem with that approach is that you do know the PublicKeyBlob of the RSWebParts to make the exception.

How you go about finding a the PublicKeyBlob is to open up the assembly in ildasm.

Check the assemblies manfiest, and there will be the PublicKeyBlob in there.

 

tags: , , ,

Cross-posted from tariqayad.com

Print | posted on Tuesday, October 10, 2006 3:36 AM

Comments on this post

# re: Find an PublicKeyBlob from an assembly

Requesting Gravatar...
Hi there,

I 've the same problem with MOSS 2007, which dll , i should be getting the public key from? I extracted from bml.rswebparts.dll and made a corresponding entry in the WSS_minimalTrust. And did a iisreset. But still get the same error with sharepoint security exception. Am i missing something here?

Thanks

Regards
Suresh
Left by Suresh on Jan 24, 2007 2:29 AM

Your comment:

 (will show your gravatar)
 
Please add 6 and 8 and type the answer here: