In our dev environment, there are no issues with previewing and downloading PDF files. However, when it runs on the client-side, the PDF files appear blank after downloading, even though the preview works fine. We have tried using different files, but the problem persists.
Do you have any suggestions to address this issue? Thank you for your assistance.
Thanks for the logs. I think this will be fixed in the 10.0.1 version I just published. Let me know the results of your tests.
Hi. Is this on-premises environment or cloud? Do you see any error in Service Center?
Would be helpful if you could install Ultimate PDF Management component and download a troubleshooting log.
Thanks for the update
1. The enviroment is on-premises(we have two client side env and both are premises and both have this issue)
2. We have thoroughly checked the Service Center but have not found any relevant error logs or indications of the issue. As described, to view the PDF page is OK, but the PDF will be BLANK when we download it(Preview=false) To address this issue, we recently upgraded to the new version of UltimatePDF and UltimatePDFManagement. Unfortunately, the problem has escalated since then. Now, when we try to download the PDFs, we encounter an error message: {"Errors":["An error occurred while generating the PDF"],"StatusCode":500}. This error is also displayed in the Service Center. Furthermore, even the demo application (UltimatePDF Demo) within our environment experiences the same issue.
We have checked both the extension and the OS application, but couldn't find any specific problems. If you have any suggestions on where we should focus our efforts or any insights to help us resolve this issue, we would greatly appreciate
Please find below the troubleshooting log from our management for your reference and analysis
Thanks
For your reference, Ultimate PDF typically uses HTTPS when communicating to the module that hosts the PDF screen. There are a few circumstances where it will ignore SSL errors because the deployment address is unlikely to have a valid certificate matching the hostname.
One of these scenarios should be when the deployment zone is configured using an IP address, because it's very unlikely the SSL certificate will match the IP address. But up until 10.0.0 Ultimate PDF was not ignoring SSL errors in this scenario, and in your case it caused the failure to generate the PDF. From version 10.0.1 onwards, it will ignore SSL errors when connecting using an IP address.
Thank you for your efforts in resolving the issue. We have updated the app and it is now functioning properly.
However, we are still facing a problem on one client-side where the error persists, and the service center log shows the following error message:
Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0 Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.
We don't see any error in Service code, is there something we missed?
Thank you!
Which version of the OutSystems platform are you using?
Ultimate PDF requires Newtonsoft.Json version 13.0, which is used by the platform at least since version 11.18.
The same error was reported here: https://www.outsystems.com/forums/discussion/88581/ultimate-pdf-pdf-preview-causing-error-from-mobile/
Thank you for your response.
Were you able to solve the error?