I developed a web application using iTextSharp.  When I posted the code with 
iTextSharp and ICSharpCode.SharpZipLib references intact, users receive the following 
error message:

Access is denied: 'ICSharpCode.SharpZipLib'.
at iTextSharp.text.pdf.PdfDocument.Close() at iTextSharp.text.Document.Close() 

I enforce Integrated Windows Authentication on the server.  This is code that I tested 
thoroughly in development and it continues to work for me... but I am an administrator 
on the server machine.  

I gave Everyone Read/Write permissions in a temporary directory used for generating 
the PDF.  In troubleshooting I have also given Everyone Full Control of the entire 
application directories.  But these tactics made no difference.  I took a user who was 
receiving this error and temporarily made them part of the Administrators group and 
then it worked for them also.  But, of course, making Everyone a member of the 
Administrators group is not an option.

What permission is the Document class/SharpZipLib needing to perform the Close() and 
newPage() methods?


-------------------------------------------------------
This SF.Net email is sponsored by: SourceForge.net Broadband
Sign-up now for SourceForge Broadband and get the fastest
6.0/768 connection for only $19.95/mo for the first 3 months!
http://ads.osdn.com/?ad_id%62&alloc_ida84&op=click
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to