Rotating Razorpdf "locks" on IIS

Asked

Viewed 108 times

-2

Friends, I use Visual Studio C# 2015. In an MVC project I am also using the Razorpdf Rotary to create PDF from HTML pages. When I test the application in development environment (localhost within Visual Studio) it works 100% of the time. However, when installing on IIS often the page gets "stuck" and the application "wkhtmltopdf.exe" gets stuck in memory. Have any of your friends ever been through a problem like this?

Sincerely yours,

Leonardo Cruz

  • Broad question, avoid questions like "someone has been through the same problem?". See https://answall.com/help/asking for learning how to ask a good question

  • Friends, problem solved! The executable downloaded by installing the package on Nuget ("wkhtmltopdf.exe") came corrupted or with some problem. I downloaded the most current version from https://wkhtmltopdf.org/ and put it in the application’s "/rotary" folder on the ISS to solve the problem. Amigo @RORSCHACH, the fact that you put the question "Any of the friends..." at the end of the text does not make the doubt wide. Actually the question was very specific and the answer, as I put above, too. !

1 answer

1


Friends, problem solved!

The executable downloaded by installing the package on Nuget ("wkhtmltopdf.exe") came corrupted or with some problem.

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

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

Hugs!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.