I am using Itext sharp to create a pdf. I am adding an image and I keep getting this error
Request for the permission of type
Version=184.108.40.206, Culture=neutral, PublicKeyToken=b77a5c561934e089'
it is this bit of code that is causing this
string imagepath = "C:\\BMSApplicationFiles\\PDFImages\\bullfrogWeb.gif";
//add the Image to the DOC
Image bullfrogImage = Image.GetInstance(imagepath);
bullfrogImage.SetAbsolutePosition(10, doc.PageSize.Height - 36);
If i comment this out, the PDF builds and no errors are thrown (there is just no image)
I don't understand cause I am am trying to do is read a file.
The directory does have full permission granted to IISUser
Any ideas why I am still geting this permissions error?
View Complete Post