Hello
Im using Webdev 18
Trying to generate a PDF to a subdirectory of the data directory - and
then print it
All works well on the development PC, but not on the production server
(IIS 7.5 on Win2008 server)
I have tried giving the world permission to the folder, with no joy.
I anyone could point my in the right direction to be able to create the
.pdf in the folder I would be very grateful
Thank you
PROCEDURE PrintOrderConfirmation()
sFileName is string = fDataDir() + "\Upload\" + gnOrderNo + ".pdf"
iInitReportQuery(RPT_OrderConfirmation,gnOrderNo)
iDestination(iGenericPDF,sFileName)
iPrintReport(RPT_OrderConfirmation)
FileDisplay(sFileName)
the error is
What happened?
Unable to open <C:\WEBDEV
Hosting\WEBDEV_USER1\data\weborder\Upload\24.pdf> file.
Error code: 0
Level: fatal error (EL_FATAL)
System error code: 2
System error message:
The system cannot find the file specified.
Dump of the error of 'WD180Session.exe' module (18.0.108.0).
Debugging information:
##(IXStream)-Handle=<FFFFFFFF>##
Additional Information:
EIT_SRCFILE : <C:\WEBDEV Hosting\WEBDEV_USER1\data\weborder\Upload\24.pdf>
(25, ERR_MSG_BOX)
The system cannot find the file specified. (2)