624
Views
12
Comments
Solved
[Ultimate PDF] Error downloading PDF
Question
ultimate-pdf
Reactive icon
Forge asset by Leonardo Fernandes

Hello,

We are having a problem trying to download the PDF. In the development environment it works normally, but in production it doesn't work, the following errors occur:

Note: PDF screen is anonymous



Could you help us urgently?

Thank you and I look forward to returning.

2022-07-08 12-19-58
Eduardo Benites
Solution

leonardo.fernandes wrote:

Hi Bernardo.

Is your environment on the cloud, or on premises? If on premises, could you check the contents of C:\Windows\Temp\.local-chromium\?

hi Leo!

Our environment is local and was able to solve this problem by checking a c: // Windows / Temp folder.
Adds all settings to it in the production environment and thus can resolve or error.
Thanks and I would like to add a reminder or note about this detail.


2019-11-01 16-10-49
Nélio Dionisio

Hi,

Some months ago, I have a identical problem, I was using HtmlToPDF, and in the screen that I was trying to convert to pdf. I remember that call some services that can't be used in anonymous mode, I resolved this sending the UserId in the input of the page. Doing this I already can call the services with the UserId received in the page.


I hope it helps :)




2021-05-25 20-26-04
Bernardo Condé

Nélio Dionisio wrote:

Hi,

Some months ago, I have a identical problem, I was using HtmlToPDF, and in the screen that I was trying to convert to pdf. I remember that call some services that can't be used in anonymous mode, I resolved this sending the UserId in the input of the page. Doing this I already can call the services with the UserId received in the page.


I hope it helps :)


Hello Nelio,

Unfortunately this is not my problem because in my PDF I don't use anything that depends on User, so much so that in the development environment it works normally and in the production environment it doesn't.

Even so, thanks for the help.


2018-09-28 12-04-18
cbcardozo
Hello, Have you checked the path of the PDF? In HtmlTOPdf you need to pass the path (URL) where the service is, already checked if in production this path is not pointed to DEV,  so access denied?
2021-05-25 20-26-04
Bernardo Condé

Hello Carolina,

I appreciate your help, but we have already done this conference, and the URL is correct, that is, in production the URL is really pointing to production.

Thank you anyway!

2019-07-08 11-04-35
Leonardo Fernandes
 
MVP

Hi Bernardo.

Is your environment on the cloud, or on premises? If on premises, could you check the contents of C:\Windows\Temp\.local-chromium\?

2022-07-08 12-19-58
Eduardo Benites
Solution

leonardo.fernandes wrote:

Hi Bernardo.

Is your environment on the cloud, or on premises? If on premises, could you check the contents of C:\Windows\Temp\.local-chromium\?

hi Leo!

Our environment is local and was able to solve this problem by checking a c: // Windows / Temp folder.
Adds all settings to it in the production environment and thus can resolve or error.
Thanks and I would like to add a reminder or note about this detail.


UserImage.jpg
Sushmita T

Hi Leonardo,

Please help me understand what exact setting is required for this problem. We are facing the same issue and our environment is in-premise. We have provided all access C:\Windows\Temp\.local-chromium\ . I am not sure what i need to check further?

2021-02-16 20-34-58
Remco Snijders
 
MVP

I am also running into this problem and would like to know how I need to configure my on-premise environment.

2021-05-11 22-59-51
José Fontánez

Hi

We have the same issue of the C:\Windows\Temp\.local-chromium\? the ultimate PDF not found this DLL. But environment are on the cloud. How can fix the issue?

Thanks,

2021-02-16 20-34-58
Remco Snijders
 
MVP

One question, how do you provide access on the on-premise environment? Normally you would do this with an account that can read/write (to) the folder, but in this case, the application should be able to read/write, correct?

2021-05-11 22-59-51
José Fontánez

Hi, Remco


Ours environment are on the cloud.


Thanks.

UserImage.jpg
Eduardo Ribeiro

We had exactly this problem in one (and only 1) of our cloud environments. As in the cloud we do not have direct access to the servers, it had to be corrected via support ticket.


The fix was just renaming the folder and let the component create a new one.


Is there a chance of adding some kind of protection to the component in these cases? For example, some kind of reset in which you delete the C:\Windows\Temp\.local-chromium\ folders and create new ones? It would be very useful for those in the cloud.


Thank you.

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.