|
<< Click to Display Table of Contents >> Navigation: Telegram > 2023 > 11 > 10 > Telegram_2023-11-10T11 |
2023-11-10T11:46:55
Hi,
I updated my application from IW 15.2.49 to IW 15.4.1 (delphi Enterprise 11.3)
everything seems to work fine except the generation of a PDF performed with report builder
I use this simple code to generate a file for download in a PDF
(this code has worked for years)
...
if FileExists(UserSession.pathDoc+Webapplication.AppID+'\\ricevuta.pdf') then
DeleteFile(UserSession.pathDoc+Webapplication.AppID+'\\ricevuta.pdf');
...
ppReport1.AllowPrintToFile := True;
ppReport1.ShowPrintDialog := False;
ppReport1.TextFileName := UserSession.pathDoc+Webapplication.AppID+'\\ricevuta.pdf';
ppReport1.Print;
...
then download it
the error occurs when generating the report (ppReport1.Print)
No error in Log (?)
the strange thing is the first time after starting the service it works,
the second time everything freezes and I am forced to kill the service (!)
any suggestions ?
thanks
Alessandro Romano