Getting Error while Save PDF document

Team,

Getting below error while open and save the pdf document.

System.IO.IOException: ‘The process cannot access the file ‘\Vgeudevsch02\fsvgv5dev\Temp\test.pdf’ because it is being used by another process.’

Code used below:
string strPDFFile = @“D:\Temp\test.pdf”;
Aspose.Pdf.Document pdfDocument2 = new Aspose.Pdf.Document(strPDFFile);
pdfDocument2.Save(pdfDocument2.FileName);

Reference input PDF document is not able to upload here. file size is large.

How to resolve this issue?

@Selvam_Shanmugam

Please try to upload the PDF file to Google Drive and share the link with us. We will test the scenario in our environment and address it accordingly.

@asad.ali , kindly share your share path to upload pdf document.

@Selvam_Shanmugam

There is no specific path. You can please upload yourself and share the public link to download the file.

@asad.ali ,

Find the below FTP details to download the PDF document. (use WinScp software to download the file)

ftps://ftp.valgenesis.net

User Name: Aspose

Password: @$p053#0627

@Selvam_Shanmugam

We are downloading the file and will get back to you after testing the case.

@asad.ali, get a chance to verify this with provided pdf document? any update

@Selvam_Shanmugam

We are looking into it and will respond shortly. Please spare us little time.

@Selvam_Shanmugam

We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): PDFNET-57562

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.