Hello,
I am using Aspose.PDF version 3.2.6 dll.
It works fine on local machine, but when we are deploying to other server,
it gives error as 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed
We have given full trusted to that Dll from Code Access plicy.
Exception comes at Aspose.Pdf.Pdf.BindHTML method.
Detail exception as:
'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Reflection.Assembly.get_Evidence() at Aspose.Pdf.HTML.⨀.⨋(XslTransform ⨌) at Aspose.Pdf.HTML.⨀.Ꭸ(Stream Ꭻ) at Aspose.Pdf.Pdf.BindHTML(Stream htmlStream) at
As we are at the deployment stage, we are expecting this isssue to be resoved ASAP.
Thanks in Advance,
Kishan