PDFCreator DirectoryNotFoundException


#1

VBA macro are using PDFCreator to Create PDF documents
and PDFcreator sometimes gives the error of DirectoryNotFoundException

Kindly help !!

Thanks
Priyanka kalra


#2

Hi,

do you get any additional error messages?

Best regards,

Robin


#3

Error Report for PDFCreator 2.4.1.13

Exception:
UnauthorizedAccessException
Access to the path ‘C:\Documents and Settings\kalrap\Local Settings\Temp\2\PDFCreator\Temp\Job_01be3wjr’ is denied.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileSystemEnumerableIterator1.CommonInit() at System.IO.FileSystemEnumerableIterator1…ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler)
at System.IO.DirectoryInfo.InternalGetDirectories(String searchPattern, SearchOption searchOption)
at System.IO.DirectoryInfo.GetDirectories()
at pdfforge.PDFCreator.Utilities.IO.FolderCleaner.Clean(String folder, TimeSpan minAge)
at pdfforge.PDFCreator.Utilities.IO.FolderCleaner.Clean(String folder, TimeSpan minAge)
at pdfforge.PDFCreator.Core.Services.PdfCreatorCleanUp.CleanFolder(String folder)
at pdfforge.PDFCreator.Core.Services.PdfCreatorCleanUp.CleanTempFolder()
at pdfforge.PDFCreator.Core.Startup.AppStarts.MaybePipedApplicationStarter.CleanUp()
at pdfforge.PDFCreator.Utilities.Threading.SynchronizedThread.RunThread()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()


#4

Hi,

It seems, that the permissions for “C:\Documents and Settings\kalrap\Local Settings\Temp\2\PDFCreator\Temp” are incorrect. There is a FAQ entry for that: http://docs.pdfforge.org/pdfcreator/latest/en/pdfcreator/frequently-asked-questions/pdfcreator-has-suddenly-stopped-creating-pdfs/
If this doesn’t help, just say something :wink:

Best regards