Rotating RazorPDF "hangs" on IIS [closed]

-2

Friends, I use Visual Studio C # 2015. In an MVC project I'm also using the RazorPDF Rotator to create PDF from HTML pages. When I test the application in the development environment (localhost within Visual Studio) it works 100% of the time. However, when installing in IIS many times the page is "hanged" and the application "wkhtmltopdf.exe" is stuck in memory. Have any of your friends ever been in trouble like this?

Sincerely,

Leonardo Cruz

    
asked by anonymous 17.09.2017 / 03:08

1 answer

1

Friends, problem solved!

The executable downloaded by installing the package in Nuget (file "wkhtmltopdf.exe") has become corrupted or has some problem.

To solve the problem, I downloaded the most current version from the wkhtmltopdf.org site and put it in the "/ rotating" folder of the application on ISS to solve the problem.

Another thing to look at is the operating system version, although in my case this was not the case. On that site there are 32 and 64bit versions.

Hugs!

    
18.09.2017 / 12:48