{"action":"created","issue":{"url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/56","labels_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/56/comments","events_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/56/events","html_url":"https://github.com/tuespetre/TuesPechkin/issues/56","id":53411015,"number":56,"title":"Hanging / Freezes when rebuilding solution on IIS","user":{"login":"appstractmeyn","id":2340138,"avatar_url":"https://avatars.githubusercontent.com/u/2340138?v=3","gravatar_id":"","url":"https://api.github.com/users/appstractmeyn","html_url":"https://github.com/appstractmeyn","followers_url":"https://api.github.com/users/appstractmeyn/followers","following_url":"https://api.github.com/users/appstractmeyn/following{/other_user}","gists_url":"https://api.github.com/users/appstractmeyn/gists{/gist_id}","starred_url":"https://api.github.com/users/appstractmeyn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/appstractmeyn/subscriptions","organizations_url":"https://api.github.com/users/appstractmeyn/orgs","repos_url":"https://api.github.com/users/appstractmeyn/repos","events_url":"https://api.github.com/users/appstractmeyn/events{/privacy}","received_events_url":"https://api.github.com/users/appstractmeyn/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/tuespetre/TuesPechkin/labels/originating+from+TuesPechkin","name":"originating from TuesPechkin","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-01-05T16:04:01Z","updated_at":"2015-01-16T15:18:05Z","closed_at":"2015-01-05T20:51:01Z","body":"I'm using the latest version of the library (2.0.0)\r\n\r\nThe following code works fine.\r\n\r\n```\r\nvar document = new HtmlToPdfDocument\r\n\t\t\t{\r\n\t\t\t\tGlobalSettings =\r\n\t\t\t\t{\r\n\t\t\t\t\t........\r\n\t\t\t\t},\r\n\t\t\t\tObjects = {\r\n\t\t\t\t\tnew ObjectSettings { PageUrl = \"https://www.fb.com\" }\r\n\t\t\t\t}\r\n\t\t\t};\r\n\r\n\t\t\treturn File(pdfConverter.Convert(document), \"application/pdf\");\r\n```\r\n\r\n\r\nBut, after I change the code, for example if I made the url google.com instead of fb.com, IIS/IIS_Express freezes and does not generate the pdf. The only way to resolve this is to restart the web server. Any idea, how I could get rid of this situation??"},"comment":{"url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/comments/70267757","html_url":"https://github.com/tuespetre/TuesPechkin/issues/56#issuecomment-70267757","issue_url":"https://api.github.com/repos/tuespetre/TuesPechkin/issues/56","id":70267757,"user":{"login":"wc-matteo","id":10562635,"avatar_url":"https://avatars.githubusercontent.com/u/10562635?v=3","gravatar_id":"","url":"https://api.github.com/users/wc-matteo","html_url":"https://github.com/wc-matteo","followers_url":"https://api.github.com/users/wc-matteo/followers","following_url":"https://api.github.com/users/wc-matteo/following{/other_user}","gists_url":"https://api.github.com/users/wc-matteo/gists{/gist_id}","starred_url":"https://api.github.com/users/wc-matteo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wc-matteo/subscriptions","organizations_url":"https://api.github.com/users/wc-matteo/orgs","repos_url":"https://api.github.com/users/wc-matteo/repos","events_url":"https://api.github.com/users/wc-matteo/events{/privacy}","received_events_url":"https://api.github.com/users/wc-matteo/received_events","type":"User","site_admin":false},"created_at":"2015-01-16T15:18:05Z","updated_at":"2015-01-16T15:18:05Z","body":"I have a similar issue with the latest version (v2.0.1). I am calling convert from two IIS hosted web applications (vb.net Web Forms).\r\n\r\nMy environment:\r\n\r\n• One AppPool\r\n• Two web sites running from different folders but having the same code and AppPool (it is a custom CMS)\r\n• TuesPechkin wrapped in a class (acting as a thin wrapper) and included as a reference in the web application projects (using TuesPechkin.Wkhtmltox.Win64 too)\r\n\r\nThe pdfs are generated from a URL. Trying to generate a pdf from one of the two sites works (no matter which site or how many times in a row). After the first generation though, any attempt to generate a pdf from the other site completely locks the AppPool (requires killing the process).\r\n\r\nConverter is a static (shared in vb.net) field. I am using IIS 8.5 with a 64 bit AppPool (Enable 32-Bit Applications = False). This is how I create the converter:\r\n\r\n  Converter = New ThreadSafeConverter(\r\n            New RemotingToolset(Of PdfToolset)(\r\n                New Win64EmbeddedDeployment(\r\n                    New StaticDeployment(\r\n                        Path.Combine(Path.GetTempPath(), \"mycustomcms\")\r\n                    )\r\n                )\r\n            )\r\n        )\r\n\r\n- Matteo"}}