Hi
I have a system that allow you to upload PDF and PDF/A files. Upon uploading, if the file is PDF it will convert it to PDF/A then upload to FTP server and if the file is PDF/A already it will just upload to the FTP Server. It works great on my local machine. But when I deploy my system to our repository, converting PDF to PDF/A will result to Access is Denied also, uploading PDF/A works OK.
Here are the version of files that i'm using
Spire.License : Version 1.3.2.40
Spire.Pdf : Version 3.2.52.56040
Here is my Code
PdfDocument originalDoc = new PdfDocument();
originalDoc.LoadFromFile(localFile);
PdfNewDocument newDoc = new PdfNewDocument();
newDoc.Conformance = PdfConformanceLevel.Pdf_A1B;
foreach (PdfPageBase page in originalDoc.Pages)
{
SizeF size = page.Size;
PdfPageBase p = newDoc.Pages.Add(size, new PdfMargins(0));
page.CreateTemplate().Draw(p, 0, 0);
}
newDoc.Save(completeFilePath);
Process.Start(completeFilePath);
return completeFilePath;
Looking for you fast response ..