Giter Site home page Giter Site logo

Comments (5)

zulander1 avatar zulander1 commented on May 14, 2024 3

I am having the same issue any work around ?

fail: Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware[0]
An unhandled exception has occurred: One or more errors occurred. (Unable to load DLL 'libwkhtmltox': The specified module could not be found. (Exception from HRESULT: 0x8007007E))
System.AggregateException: One or more errors occurred. (Unable to load DLL 'libwkhtmltox': The specified module could not be found. (Exception from HRESULT: 0x8007007E)) ---> System.DllNotFoundException: Unable to load DLL 'libwkhtmltox': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
at DinkToPdf.WkHtmlToXBindings.wkhtmltopdf_init(Int32 useGraphics)

@seblucas: Installed 0.12.3.2 from download site to server not working ...

Solved: Found the issue after spending 8 hours !!!!!
Brand new server missing microsoft visual c++ 2010 redistributable package (x64)

from dinktopdf.

hugoterelle avatar hugoterelle commented on May 14, 2024 1

Version 0.12.4 on Windows 2016 server (Azure VM) works for us.

See #5

Solution is to download and install the tool on your server
https://wkhtmltopdf.org/downloads.html

from dinktopdf.

AnaxAndrade avatar AnaxAndrade commented on May 14, 2024

@seblucas
I Confirm to have the same problem on Windows Server 2016
Where is the 0.12.3.2 version of the libwkhtmltox.dll ?..Can you share it?

from dinktopdf.

seblucas avatar seblucas commented on May 14, 2024

@hugoterelle

To ease deployment and better manage server change, I prefer to avoid installing anything beside .net frameworks on the Windows Server 2016.

That's still strange that 0.12.4 doesn't work and 0.12.3.2 does.

@AnaxAndrade

You can download it yourself there : https://wkhtmltopdf.org/downloads.html

from dinktopdf.

jacqueskang avatar jacqueskang commented on May 14, 2024

We are having the same issue with 0.12.4 on Windows Server 2012 R2. Has anyone tried 0.12.5 yet?

from dinktopdf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.