Case - Conversion of PublicKeyToken into a valid handler using sn.exe
Request path: Reserved.ReportViewerWebCoType: Microsoft.Reporting.WebFor
Name: Reserved.ReportViewerWebCo
You could not add this Handler directly, First you have to convert it using the StrongName
As strong names are generated using PublicKey cryptography. So, it is necessary to have a PublicKey as part of the assemblies manifest so implementation of applications can then encrypt using the PrivateKey generated with a strong name key, which is essentially a very large random number, Hence, make the assembly useful. The PublicKeyToken value is that public key. A StrongName assembly's PublicKey token can be found with the "sn.exe" utility which comes with the .NET Framework SDK with the "-T" switch. The "sn.exe" utility is primarily used to generate and manage strong name keys, and sign assemblies.
In this case PublicKeyToken=b03f5f7f11d50a3a
****AS IS**** ; Please try at your own risk.
No comments:
Post a Comment