Hi all,
We have a reactive web application and we are using UltimatePDF and when we try to download a PDF, sometimes it works as expected but there are times where the content of the generated PDF looks like this:
Also, this only happens on PROD and we don't encounter this error on our other environments.
If you have any ideas what might be causing this, please let me know. Thank you
Hi Anne,
I guess the application is not able to access some of the directory in the PROD server from where it is trying to access the PDF file or any other reference/library/resource files.
Solution: Access the Prod Env server machine and check the Directory permissions level and settings, and grant the permission accordingly (may be you will have to Create Everyone Group with Read & execute control level).
Hope this helps you!
Regards,
Benjith Sam
Benjith Sam wrote:
Hi Benjith,
I appreciate your reply, just have another question. The PDF sometimes work and sometimes, it doesn't. Would permissions still be the problem for this case?
Thanks.
Anne Trixia Mirones wrote:
Based on my project working experience, whenever I encountered such issues dealing with PDF generation, I would follow the below mentioned steps which in most of the case resolves the problem
1) Check the the PDF Screen with Anonymous role
2) Grant permission for Everyone to the Server directory which is used by the Application i.e in which the application resides and it's resource directory