-
Notifications
You must be signed in to change notification settings - Fork 422
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NO ISSUE] "Library was NOT tested with IIS" -> It works ! #50
Comments
Yes, I did a test right now and works fine. |
What did you do to get this working? I am not having any luck getting this running in IIS. I get the error |
@codingbadger, did you copied the libwkhtmltox.dll to the folder containing your solution dlls? |
Hi @lkolodziey yes I have done that. It is loading the dll correctly because if I put the 64bit version in, the app crashes with a Bad Image Exception. |
@codingbadger, try to put all related files like attached image and try again. |
Yep - I have all those files :) |
It is so strange. |
Yes - App pool is running as "no managed code". The "enable 32 bit applications" is set to False |
I finally got to the bottom of this, it turns out the the absolute url being used for images, css etc wasn't accessible from the webserver. Once this was fixed the PDF's were generated fine. Thanks for your help @lkolodziey |
Basically broken links, good thing that solved. |
For all ... I created an example of use: https://github.com/lkolodziey/UsingDinkToPdf_Example |
Hello, @lkolodziey . Thank you for your sharing, I need your help, because libwkthmltox.dll is not running well in my IIS environment. I got something error in my browser: `An error occurred during the compilation of a resource required to process this request. Please review the following specific error details and modify your source code appropriately. Metadata file 'C:\inetpub\wwwroot\prisma\libwkhtmltox.dll' could not be opened -- PE image doesn't contain managed metadata. Could you share your knowledge about this? |
Hi All, Can i use DinkToPdf with dot net core 2.1?. I have used it with Asp.net core. it's working on local IIS but not working on Live Server. Error : Unable to load DLL 'C:\inetpub\wwwroot\myproject\api\bin\libwkhtmltox.dll' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Please let me know ASAP. Thanks & Regards, |
Yes you can. Performance of IIS is very bad. Imagine, at first server got 100 request concurrently, which every request will create 1 pdf file. If there is request 101th, it have to wait until 100 request finish. |
Hello, I'm from Brazil and I saw that this post is a little bit like my problem. |
Have you try this before? |
And as a part of problem I did installed below, and I tried removing and running application - it throw same error. after re installation it worked fine. This was the key for my .NET CORE 2.2 Project. Thank you @lkolodziey |
Hello,
I noticed the "Library was NOT tested with IIS." in README.
For the record, the package works under IIS.
Regards,
The text was updated successfully, but these errors were encountered: