Last post Aug 19, 2009 01:25 PM by sirdneo
Aug 19, 2009 12:42 PM|vdtrip|LINK
I am working on a project(using asp.net and c#) that generate a pdf file on a button click.It's working well on my localhost server.But when i uploded it on server it gives error following
Error:Sys.WebForms.PageRequestManagerServerErrorException:Access to the path"..........sample.pdf"is denied.
I am using iTextSharp for generating pdf.
can anybody help me.
Aug 19, 2009 01:25 PM|sirdneo|LINK
It is because IIS User do not have access to the path where you are writing PDF file. Give read/write rights to ASP.Net User (IIS_IUSER in vista) to that folder. For details see this post:-