I am using PDFSharp in a WebForm and it works generates the PDF without any problem when I run the webform from the debugger within vs2008 from my local machine. However, I publishing the webform on godaddy.com, i get an exception error when i try to create a pdf.
System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
The exception seems to be generated by XGraphics gfx = XGraphics.FromPdfPage(page); Is there a fix or solutions to this bug?
I have read other post about this error but, i have not seen a solutions and most of those post are from 2006,7, & 8.
|