AnsweredAssumed Answered

Cannot write a PDF file

Question asked by dzittin on May 14, 2012
Latest reply on May 14, 2012 by philmodjunk


Cannot write a PDF file


On application exit, I have a script that causes FM to dump a PDF file containing table stats and other useful info to keep track of what's going on in case of a problem and for me to generally keep an eye on the healt of the data.

When I use FM 11 Pro, all works fine and when I test for an eror I get error = 0 and a successful .pdf file write. When I create a runtime and test it (same machine, same user privileges), I get an error = 1 return with no .pdf file being written.

I am using the "Save Records As PDF" script step. Any ideas?

Image attached if this helps. The folder "Exports" was present when I ran the script.