Hi,
How do I save the genereate pdf into a file location? I don't want draw to web but i want save the pdf into file folder.
DynamicPDF.Document thePDF = theReport.Generate();
Thanks,
sri.
Save pdf in file folder
Re: Save pdf in file folder
Support · Oct 23, 2009Hello Sri,
You can use the Draw method that takes the filepath. It will allow you to save the PDF physically to the filesystem.
Thanks,
ceTe Software Support Team
Re: Save pdf in file folder
Forum member · Oct 23, 2009Hi,
Thanks. I used draw method but I get an error like "Access to path "@C:\Dev" is denied".
Do I need to setup an security? How do I handle thin on production server?
Thanks,
Sri.
Re: Save pdf in file folder
Support · Oct 26, 2009Hello Sri,
It looks like you do not have permission to save the file in that location. Please make sure that the user account which is writing this file have permissions to save the file in that location. You may have to give permissions to the IUSER_MACHINENAME or ASPNET accounts or you will have to use a folder where it has permissions.
Thanks,
ceTe Software Support Team.