[Html2PdfConverter] Error returned since version 10 upgrade

[Html2PdfConverter] Error returned since version 10 upgrade

  
Forge Component
(42)
Published on 23 Jun by Guilherme Pereira
42 votes
Published on 23 Jun by Guilherme Pereira

I initially had issues with this in version 9.1 but once I used a non SILK theme, it worked fine. Since we have upgraded to 10, I'm getting error=true back from the HTMLtoPdfConverter action and a zero byte file.

The error in the logs say:

Development - Error Log            



Could not find file 'C:\Windows\TEMP\TEMPCSJLJXUVHR00000000000000000000000000000000.pdf'.
Error: Failed loading page http://blah.blah.co.uk/app/Output.aspx?CaseId=1 (sometimes it will work just to ignore this error with --load-error-handling ignore)
Exit with code 1 due to network error: UnknownNetworkError



Hello, did you try to pass "--load-error-handling ignore" in the args parameter?

Hi Huarlem

In the end, I think this was a page security issue and I didn't have the page as anonymous.

Thanks for your idea though

Trish