We have an application that creates pdfs (using pdftk), and after a successful pdf creation adds page numbers etc. using Aspose. After adding textStamps to all pages, we want to save our document, using Aspose.Pdf.Document.Save() function. This works for all our files (and has so for the past year) except for one single file. For this file, we get a crash, saying that the file is in use by another process. Trying to delete the file manually from the file system says the same, and does so until we stop our service.
Using Process Explorer I see that System has two handles for this file (pid 4). However, it won’t let me close the handles - I assume this is because it’s a System handle.
I’ve run out of ideas on how to solve this, and I’m wondering if it’s an issue with Aspose, and if we should try upgrading Aspose to a newer version? We’re currently running Aspose.Pdf version 9.0.0.