01-25-2019, 03:41 AM
Delphi XEII
Intraweb 15.0.17
FastReport 14.14
Has anyone had any experience with FastReports and HttpSys (although IIS might exhibit the same issues)?
I've been running Intraweb 14.x as Indy SA servers. The UserSession contains the appropriate datasets and a TfrxReport component. Different reports are loaded at runtime. PDFs produced are saved to the UserCache and displayed. In the past that worked fine. I've upgraded to 15.x and also converted to using HttpSys and now get lots of errors such as blank PDFs (i.e. no data) or PDFs displaying data from a different UserSession. On that last one ... I checked that the pdf was in the appropriate user's cache (it was) and the session's query (dataset) contains the correct data.
I've done much googling / checking both this and FastReport's forums. There is plenty of advice, such as "DO NOT leave ANY TfrxReport components on any form, frame or data module" (create / destroy them at runtime); EnableThreadSafe := true (didn't solve the problem); UseGlobalDataSetList := False (blank report); use threads.
Before I start writing a ton of code I just wondering if anyone else as struck similar issues and how they solved them.
Intraweb 15.0.17
FastReport 14.14
Has anyone had any experience with FastReports and HttpSys (although IIS might exhibit the same issues)?
I've been running Intraweb 14.x as Indy SA servers. The UserSession contains the appropriate datasets and a TfrxReport component. Different reports are loaded at runtime. PDFs produced are saved to the UserCache and displayed. In the past that worked fine. I've upgraded to 15.x and also converted to using HttpSys and now get lots of errors such as blank PDFs (i.e. no data) or PDFs displaying data from a different UserSession. On that last one ... I checked that the pdf was in the appropriate user's cache (it was) and the session's query (dataset) contains the correct data.
I've done much googling / checking both this and FastReport's forums. There is plenty of advice, such as "DO NOT leave ANY TfrxReport components on any form, frame or data module" (create / destroy them at runtime); EnableThreadSafe := true (didn't solve the problem); UseGlobalDataSetList := False (blank report); use threads.
Before I start writing a ton of code I just wondering if anyone else as struck similar issues and how they solved them.