I have an ASP.NET MVC 5 application. It has a simple form and when the user submits it, the form is stored in the cache and then another controller action is called, this ac
The accepted answer almost worked for me. I was missing a newer version of the C++ redistributable so installing the old version didn't help.
The easiest way to find out what you are missing is to run wkhtmltopdf.exe
manually. It will either give you console output (if working) or a message box about what's missing.
I was missing MSVCP140.dll, which is from the VS 2015 redist, available here: https://www.microsoft.com/en-gb/download/details.aspx?id=48145