wkhtmltopdf – inconsistent conversion

For the past 2-3 days, i stuck with wkhtmltopdf tool. We have an ASP.NET application converting some html files to pdf files. It worked perfectly in dev/QA server. We are using .NET Process class to start the conversion.

The development server is “Windows Server 2008 R2”. The production server is “Windows Server 2003” 🙂

hahaha Wait a minute! We will upgrade our production soon.

Ok, the problem here with the production server is, the html to pdf conversion is not consistent. One in 8 attempts it worked. After trying the followings

  1. give some pause for the process to complete
  2. thinking some image references is the problem, replaced absolute path with relative path

Nothing helped. It was really frustrating. My colleague Vijay asked to check if any command line option will help.

I tried the “-q” global option in the wkhtmltopdf tool and it worked perfectly everywhere. Don’t know the actual cause of this problem yet. Hope this helps someone.

 

Update: still not working consistently. planning to upgrade the server to Windows Server 2008 R2, before MS releases Windows Server 2012.

37 thoughts on “wkhtmltopdf – inconsistent conversion

  1. hottest xxx tube

    I just couldn’t leave your web site before suggesting
    that I actually enjoyed the usual information an individual provide on your guests?
    Is going to be back steadily in order to inspect new posts

  2. hot porn videos

    I am curious to find out what blog system you are utilizing?
    I’m having some minor security issues with my latest website and I’d like to find something more safeguarded.

    Do you have any solutions?

  3. Porn Clips

    Excellent blog! Do you have any tips and hints for aspiring writers?
    I’m planning to start my own blog soon but I’m a little lost on everything.
    Would you suggest starting with a free platform like WordPress or go for a paid option? There are so many
    choices out there that I’m totally overwhelmed .. Any recommendations?

    Many thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *