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
I faced the same problem. Even the error logger wasn't logging anything.
After some research, I tried replacing the wkhtmltopdf.exe
with the latest version available in wkhtmltopdf.org website, still no luck.
Finally copied msvcp120.dll
and msvcr120.dll
to the folder where I had the excutable and it worked. (There was no need of the latest version of wkhtmltopdf.exe, instead it worked with the version what I got from Nuget.)
msvcp120.dll and msvcr120.dll were available in the below directory in Windows 7.
C:\Windows\SysWOW64\