2
Views
2
Comments
Error generating  PDF: Exit with code 1 due to network error: HostNotFoundError
Application Type
Traditional Web
Platform Version
10.0.1100.0

Hi,
we are installing a new environment and during the tests we are obtaining the following error:
Could not find file 'C:\Windows\TEMP\TEMPLYRSEEXYNT00000000000000000000000000000000.pdf'.
Exit with code 1 due to network error: HostNotFoundError
Making the test on the “HowToPDF.aspx”, we also obtain the same error (see image in attachment)
My is environment is OS10 on premise server.


Can you help us solving this problem!
Any help will be much appreciated.
Regards
Miguel Anselmo

html2pdf.zip

Rank: #852

This seems like a Windows Server 2019 issue, by design.  Your sessions are timed out after 7 days (usually) and the system does some cleanup.  Here is an article about it. 

https://docs.microsoft.com/en-us/troubleshoot/windows-server/shell-experience/temp-folder-with-logon-session-id-deleted

Hope this helps you.  

Rank: #1943

Hi Lyle,

I don’t understand what you referee have to do with the error that we reported.

For each attempt, the html2pdf is generating a new file.

Regards

Miguel Anselmo