Welcome Guest Search | Active Topics | Sign In | Register

Pdf not rendering with styles and images when the application is host Options
kishore
Posted: Wednesday, November 21, 2012 8:02:05 AM
Rank: Newbie
Groups: Member

Joined: 11/17/2012
Posts: 4
hi

I have converted some of my aspx pages into pdf using aspxtopdf in my application.
They are working fine in the testing environment.
But when i host the application the styles,images and links are not getting displayed.

Any help and quick response is greatly appreciated.

Thanks

Kishore

eo_support
Posted: Wednesday, November 21, 2012 9:24:13 AM
Rank: Administration
Groups: Administration

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

Image and links are two different things. I would suggest you to troubleshoot the images first by:

1. Create a test page just with one images in question and see if that works;
2. Check your IIS log to see if you see any error there;
3. Check JavaScript in your page to see if your image and links are generated by script. If they are generated by script, then you will want to increase HtmlToPdf.Options.MinLoadWaitTime so that there will be enough time for the scripts to run;

Hope this helps. Let us know how it goes.

Thanks


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.