Geeks With Blogs
Tangible Thoughts SharePoint, MOSS? and all the other questions

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

Posted on Tuesday, October 10, 2006 3:36 AM Programming , SharePoint | Back to top


Comments on this post: Find an PublicKeyBlob from an assembly

# 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

# re: Find an PublicKeyBlob from an assembly
Requesting Gravatar...
That will do the job as well.

C:\CSVRenderer\bin\Debug>sn -Tp "XXXX.ReportingServices.CsvRendering.dll"
Left by Ricardo Casquete on May 10, 2009 5:54 PM

Your comment:
 (will show your gravatar)


Copyright © Tariq | Powered by: GeeksWithBlogs.net