Exception: Could not open a temporary file. Make sure to close unused documents. On Image.Create()


First I would like to say that I have already seen this topic:


But I'm not sure if it's the same problem.

The exception I get is on the execution of

pdftron.PDF.Image.Create(PDFDoc, Bitmap)


it is utilized in using clause same as new PDFDoc() is.

So the question is what might be the case here.
Maybe some bug in Create method?
Maybe something has been corrected in never version?

Mine is PDFNet32 v 6.0.0

Any help would be appreciated.

Does this occur in only your project, or in our SDK samples as well?

You can also monitor the process as it runs to see the number of file handles open (exact steps depend on OS). If you let me know which OS I can assist further here.

Also how are you running the process? Normally, or under a server process, or perhaps as a service?