Hi,
I have recently started using PDFsharp and have run into an error.
I built my PDF library on a windows application first of all and everything worked fine, PDF built, and it looked great.
I've now moved that library over to my web application (running on local server) and it hits an error when trying to build the PDF.
Exception Details: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
Source of Error: XFont header = new XFont("Arial", 20, XFontStyle.Bold);
The application is running on 'Full Trust'.
Any ideas on the fix?
Thanks in advance!
|