How do I go around 'Failed creating a temporary file' exception?


I get the following error every time I attempt to import pages into a
new PDF Document :

"pdftron.Common.PDFNetException: Exception:
Message: An error occurred during page import: Failed creating a
temporary file."

How do I go around this error?

It seems that PDFNet does not have permission to write to the default
temporary folder. You could either grant PDFNet11.DLL the permission
to read/write from the temporary folder, or use PDFNet.SetTempPath("C:
\mypath") to explicitly specify the location of the temporary folder
(of course, you would still need to set the read/write permission for