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.

303 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!

  4. hey

    Taxi moto line
    128 Rue la Boétie
    75008 Paris
    +33 6 51 612 712  

    Taxi moto paris

    Why people still make use of to read news papers when in this technological
    world everything is accessible on net?

  5. Kathryn Parham

    Woah! I’m really loving the template/theme of this website.
    It’s simple, yet effective. A lot of times it’s very difficult to get that “perfect balance” between user friendliness and visual
    appeal. I must say you’ve done a amazing job with this. In addition, the blog
    loads very fast for me on Internet explorer. Superb Blog!

  6. Pingback: viagra dosag per tablet

  7. James Spitzer

    It is appropriate time to make some plans for the future and
    it is time to be happy. I’ve read this post and if I could I wish to suggest
    you some interesting things or tips. Maybe you can write next articles referring to this article.
    I wish to read even more things about it!

  8. Frances Pena

    It’s the best time to make some plans for the future and it’s time to be happy.
    I’ve read this post and if I could I desire to suggest
    you few interesting things or tips. Perhaps you could write next articles referring to this article.
    I wish to read more things about it!

  9. Pingback: can cialis cause anxiety

  10. Jack Pierce

    I have been browsing on-line greater than 3 hours nowadays, yet I by
    no means discovered any fascinating article like yours.
    It’s beautiful price sufficient for me.
    In my view, if all web owners and bloggers made just right content as you
    did, the internet might be a lot more useful than ever before.

  11. Erick Umbaugh

    I’ve been surfing online more than three hours today, but
    I never found any fascinating article like yours. It’s beautiful price sufficient for me.

    In my opinion, if all webmasters and bloggers made just
    right content material as you probably did, the
    net will probably be a lot more useful than ever
    before.

  12. Pingback: viagra for brain

  13. Pingback: cialis and diarrhea

  14. Elinor Hooker

    Your style is very unique in comparison to other folks I’ve read stuff from.
    I appreciate you for posting when you’ve got the opportunity, Guess I will just bookmark this blog.

  15. Pingback: viagra oxycodone

  16. Marty Payne

    I have been surfing online more than 3 hours today, yet I never found any interesting
    article like yours. It is pretty worth enough for me.
    Personally, if all web owners and bloggers made good content as you
    did, the web will be much more useful than ever before.

  17. William Barton

    Hello! I’ve been reading your weblog for a while now and finally got the bravery to go ahead and give you a shout out from
    Austin Tx! Just wanted to say keep up the fantastic
    work!

Leave a Reply to latisse eyelash growth Cancel reply

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