Unable to locate output path or access denied

Skip Navigation LinksHome  /  Support  /  Forums  /  DynamicPDF Converter for .NET (v1)  /  Re: Unable to locate output path or access denied

DynamicPDF Converter for .NET (v1) Forum

Hi Experts,

The bottom short function codes trigger the following error:
" ... Et kald til ceTe.DynamicPDF.Conversion.Converter.Convert mislykkedes med folgende meddellelse: Unable to locate output path or access denied."

A colleague said it is due to public token registration problem? It may not. It actually works in one environment but not another.
What is your advice and opinion? TQ


Code:
// Set file name for output file.
pdfFileName := OutputPathAndFilename;

// Delete old output file if it already exist.
IF EXISTS(pdfFileName) THEN ERASE(pdfFileName);

SourcePathAndFilename := FileMgt.UploadFileSilent(SourcePathAndFilename);
DynamicPDFConverter.Convert(SourcePathAndFilename,pdfFileName);
Posted by a ceTe Software moderator
Hello,

For this product it is not necessary to register the product dll, so it is not a public token registration issue. The fact that it works in one environment and not another indicates that there is an issue with the file path you are providing to the Convert method. It is possible that the output file path you are providing is not present or inaccessible to due to some permission issue. To verify that it is in fact an issue with the file path you may try to save the PDF to a different path (where your application has permissions to write a file) and see if that works.

Thanks,
ceTe Software Support Team.

All times are US Eastern Standard time. The time now is 9:02 AM.