Welcome Guest Search | Active Topics | Sign In | Register

Problem with images in EO.PDF with HTML to PDF - possibly linked to cache Options
Francois Allard
Posted: Wednesday, December 16, 2015 5:10:23 PM
Rank: Newbie
Groups: Member

Joined: 9/24/2015
Posts: 2
Hi,
we are using HTML to PDF in EO.PDF. We have a intermittent problem with some images that don't get displayed on the PDF. We can usually replicate it when we launch a ConvertHtml quickly after another one as completed.

We looked at the IIS logs, this is what we see:

1st call to ConvertHTML
4 out of 8 images have status code 200 (meaning they were downloaded from the server), the other 4 are 304 so they are retrieved from the cache. All images are properly displayed on the PDF.

2nd call to ConvertHTML
All 8 images have status code 304, so they should all be retrieved from the cache, but instead the 4 images that were recently downloaded in the 1st call are not displayed. So only 4 images are properly displayed on the PDF.

Can you help? :)
Thanks!
eo_support
Posted: Wednesday, December 16, 2015 10:19:13 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,229
Hi,

Can you create a test project for us to that we can investigate further? See here for more information on submitting test project to us:

http://www.essentialobjects.com/forum/test_project.aspx

Thanks!
Francois Allard
Posted: Friday, December 18, 2015 8:13:52 PM
Rank: Newbie
Groups: Member

Joined: 9/24/2015
Posts: 2
Hi,
recreating the issue in a test project will prove difficult, the developer who worked on this is gone and this print to PDF is printing document from a Sharepoint site. When it prints HTML locally we do not have the issue. Will deactivating the cache in the options of the Html to PDF help?


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.