Hi,
I just downloaded and installed Aspose.PDF for Reporting Services.
We got a temporary license
We need to be exporting reports in PDF/A format.
Server info:
SSRS 2005 Enterprise x64
I donwloaded DLL only version 19.7.0.0
Took the dll from the SSRS2005 folder and I manually copied in bin folder of my SSRS instance.
Entered the security policy in rssrvpolicy.config the following way:
<CodeGroup class=“UnionCodeGroup” version=“1” PermissionSetName=“FullTrust”
Name=“Aspose.PDF_for_Reporting_Services” Description=“This code group grants full trust to the AP4SSRS assembly.”>
IMembershipCondition class=“StrongNameMembershipCondition” version=“1” PublicKeyBlob=“00240000048000009400000006020000002400005253413100040000010001000734cc24bfcebd7aa8c6e2bf8af5c2b95c7a7e6092abb60d68a7d9efde285cf7dce7f354b44cf3064e8ad85bddfe405ad1e51855d9a1367c15cb34529988feeee0c3279caecdb6dfd7f94c5364d2bd282c4f93493d56d33df36f97da8fd71bb7dc4b0e7f1428b926291cdea7cec1085aa9cc0f6771e4fc2f5772603eee3afaaa” />
But when I open the report in web report manager, there is no extension from Aspose present in the export drop down list.
Additionally I get this error in SSRS log:
w3wp!extensionfactory!1!07/28/2021-08:55:44:: e ERROR: Exception caught instantiating APPDF report server extension: System.IO.FileLoadException: Could not load file or assembly ‘Aspose.Pdf.ReportingServices, Version=19.7.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’ or one of its dependencies. Failed to grant minimum permission requests. (Exception from HRESULT: 0x80131417)
File name: ‘Aspose.Pdf.ReportingServices, Version=19.7.0.0, Culture=neutral, PublicKeyToken=716fcc553a201e56’ —> System.Security.Policy.PolicyException: Required permissions cannot be acquired.
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Boolean checkExecutionPermission)
at System.Security.SecurityManager.ResolvePolicy(Evidence evidence, PermissionSet reqdPset, PermissionSet optPset, PermissionSet denyPset, PermissionSet& denied, Int32& securitySpecialFlags, Boolean checkExecutionPermission)
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.LoadAssembly(String name)
at Microsoft.ReportingServices.Diagnostics.ExtensionClassFactory.CreateExtensionObject(Extension extConfig)
can you please help me fix this.