Skip to content
This repository has been archived by the owner on Apr 23, 2020. It is now read-only.

TuesPechkin unable to load DLL 'wkhtmltox.dll' #75

Open
devfunkd opened this issue Jan 11, 2015 · 2 comments
Open

TuesPechkin unable to load DLL 'wkhtmltox.dll' #75

devfunkd opened this issue Jan 11, 2015 · 2 comments

Comments

@devfunkd
Copy link

I've been using TuesPechkin for some time now and today I went to update the nuget package to the new version 2.0.0+ and noticed that Factory.Create() no longer resolved, so I went to read on the GitHub the changes made and noticed it now expects the path to the dll?

IConverter converter =
new ThreadSafeConverter(
new PdfToolset(
new StaticDeployment(DLL_FOLDER_PATH)));
For the past few hours I've tried almost all the paths I can think of, "\bin", "\app_data", "\app_start", etc and I can't seem to find or figure out what it wants for the path and what dll?

I can see the TuesPechkin dll in my bin folder and it was the first path I tried, but I got the following error:

Additional information: Unable to load DLL 'wkhtmltox.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Where is that dll and now can I get it as the library doesn't seem to contain it, I tried installing the TuesPechkin.Wkhtmltox.Win32 package but the dll still is nowhere to be found. Also I am using this in a asp.net website project so I assume that using the following should work for obtaining the path, right?

var path = HttpContext.Current.Server.MapPath(@"~\bin\TuesPechkin.dll");

http://stackoverflow.com/questions/27882601/tuespechkin-unable-to-load-dll-wkhtmltox-dll

@Sly85
Copy link

Sly85 commented Nov 5, 2015

I have the same issue ! Any ideas ?!

@devfunkd
Copy link
Author

Issue seems to be fixed in the latest build, suggest trying the newest version?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants