{"action":"created","issue":{"url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/57","labels_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/57/comments","events_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/57/events","html_url":"https://github.com/tuespetre/TuesPechkin/issues/57","id":53996598,"number":57,"title":"TuesPechkin unable to load DLL 'wkhtmltox.dll'","user":{"login":"deliriousDev","id":5835022,"avatar_url":"https://avatars.githubusercontent.com/u/5835022?v=3","gravatar_id":"","url":"https://api.github.com/users/deliriousDev","html_url":"https://github.com/deliriousDev","followers_url":"https://api.github.com/users/deliriousDev/followers","following_url":"https://api.github.com/users/deliriousDev/following{/other_user}","gists_url":"https://api.github.com/users/deliriousDev/gists{/gist_id}","starred_url":"https://api.github.com/users/deliriousDev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/deliriousDev/subscriptions","organizations_url":"https://api.github.com/users/deliriousDev/orgs","repos_url":"https://api.github.com/users/deliriousDev/repos","events_url":"https://api.github.com/users/deliriousDev/events{/privacy}","received_events_url":"https://api.github.com/users/deliriousDev/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/tuespetre/TuesPechkin/milestones/2","labels_url":"https://api.github.com/repos/tuespetre/TuesPechkin/milestones/2/labels","id":926566,"number":2,"title":"2.1.0","description":"Add options for using custom headers and cookies on LoadSettings\r\nAdd an ImageToolset, taking into account previous workaround made for 2.0.1 and any effects it may have","creator":{"login":"tuespetre","id":4853540,"avatar_url":"https://avatars.githubusercontent.com/u/4853540?v=3","gravatar_id":"","url":"https://api.github.com/users/tuespetre","html_url":"https://github.com/tuespetre","followers_url":"https://api.github.com/users/tuespetre/followers","following_url":"https://api.github.com/users/tuespetre/following{/other_user}","gists_url":"https://api.github.com/users/tuespetre/gists{/gist_id}","starred_url":"https://api.github.com/users/tuespetre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuespetre/subscriptions","organizations_url":"https://api.github.com/users/tuespetre/orgs","repos_url":"https://api.github.com/users/tuespetre/repos","events_url":"https://api.github.com/users/tuespetre/events{/privacy}","received_events_url":"https://api.github.com/users/tuespetre/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"open","created_at":"2015-01-08T03:45:14Z","updated_at":"2015-01-13T14:34:13Z","due_on":"2015-01-18T06:00:00Z","closed_at":null},"comments":8,"created_at":"2015-01-11T16:39:07Z","updated_at":"2015-01-14T21:23:35Z","closed_at":"2015-01-13T04:03:40Z","body":"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?\r\n\r\nIConverter converter =\r\nnew ThreadSafeConverter(\r\nnew PdfToolset(\r\nnew StaticDeployment(DLL_FOLDER_PATH)));\r\nFor 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?\r\n\r\nI can see the TuesPechkin dll in my bin folder and it was the first path I tried, but I got the following error:\r\n\r\nAdditional information: Unable to load DLL 'wkhtmltox.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)\r\n\r\nWhere 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?\r\n\r\nvar path = HttpContext.Current.Server.MapPath(@\"~\\bin\\TuesPechkin.dll\");\r\n\r\nhttp://stackoverflow.com/questions/27882601/tuespechkin-unable-to-load-dll-wkhtmltox-dll"},"comment":{"url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/comments/69994572","html_url":"https://github.com/tuespetre/TuesPechkin/issues/57#issuecomment-69994572","issue_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/57","id":69994572,"user":{"login":"tuespetre","id":4853540,"avatar_url":"https://avatars.githubusercontent.com/u/4853540?v=3","gravatar_id":"","url":"https://api.github.com/users/tuespetre","html_url":"https://github.com/tuespetre","followers_url":"https://api.github.com/users/tuespetre/followers","following_url":"https://api.github.com/users/tuespetre/following{/other_user}","gists_url":"https://api.github.com/users/tuespetre/gists{/gist_id}","starred_url":"https://api.github.com/users/tuespetre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tuespetre/subscriptions","organizations_url":"https://api.github.com/users/tuespetre/orgs","repos_url":"https://api.github.com/users/tuespetre/repos","events_url":"https://api.github.com/users/tuespetre/events{/privacy}","received_events_url":"https://api.github.com/users/tuespetre/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T21:23:35Z","updated_at":"2015-01-14T21:23:35Z","body":"If 32-bit is the right version for you, then yes, the following code for 2.1.0 will essentially perform the same as 1.0.3:\r\n\r\n```\r\nIConverter converter =\r\n    new ThreadSafeConverter(\r\n        new RemotingToolset<PdfToolset>(\r\n            new Win32EmbeddedDeployment(\r\n                new TempFolderDeployment())));\r\n\r\n// Keep the converter somewhere static, or as a singleton instance!\r\n\r\nbyte[] result = converter.convert(document);\r\n```"}}