Spire.PDF is a professional PDF library applied to creating, writing, editing, handling and reading PDF files without any external dependencies. Get free and professional technical support for Spire.PDF for .NET, Java, Android, C++, Python.

Sun Dec 06, 2015 1:35 am

Hi to all

I am using the free edition of Spire.PDF to see if I would like to purchase the full version. The only process I will be doing at the moment is to convert small PDF files (with one or two sheets) to Bitmap images to deloy then in a form.

I found that it works fine when accesing PDF files with full permissions, but fails when accessing Read Only files. But I need to process PDF files with Read and execute permissions.

Here is the code:

Dim doc As New Spire.Pdf.PdfDocument
doc = New Spire.Pdf.PdfDocument
doc.LoadFromFile(SourceFileName)

On the last instruction, I get an Unauthorized Access Exception (access denied). 'SourceFileName' is the string path to a PDF file with Read & Execute permissions.

Thanks for your help,

Spire.License Version 1.3.2.40
Spire.PDF Version 3.2.52.56040

Windows 7 Professional Service Pack 1

Enrique Simon

esimon
 
Posts: 1
Joined: Thu Aug 13, 2015 3:29 pm

Mon Dec 07, 2015 3:43 am

Dear Simon,

Thanks for your inquiry.
Please try to use up-to-date Spire.PDF Pack(Hot Fix) Version:3.5.143. If your issue still happens, please provide us your sample document to help us do an investigation.

Sincerely,
Betsy
E-iceblue support team
User avatar

Betsy
 
Posts: 802
Joined: Mon Jan 19, 2015 6:14 am

Return to Spire.PDF