Open kareem613 opened 12 years ago
I am under the gun to deliver a project and am having the exact same issue...What makes this more troubling is that the same code run from within the web application during a page load event works without issue...it just takes too long to put it there so I need it to run in a separate process from the web app. Works fine in DEV, but only converts the first 11 pages of a 20-80 page conversion loop then crashes the console app.
Working on implementing some better logging now provide more info.
AFAIK this console line doesn't mean anything and doesn't indicate anything. (I get normal results even when this line appears.)
I think this is just another "doesn't work in web environment" issue.
Many kudos to you for creating this wrapper and for all the help you've provided to people using it. I wish I could be of more help with the "doesn't work in a web environment" issue. Unfortunately, all I can offer is that I tried running a console application on two different web servers and both of them would fail and crash at 11 pages..regardless of which pages were being converted, it was always 11 pages.
Thanks again for all your hard work, it is truly appreciated.
Oh, that was a console app? Sorry, the reports from before were that library crashed as part of IIS environment. Console app is actually interesting.
Could you make the test page which crashes library for you? If you don't want to provide the HTML of the production page, you can try to synthesize some lorem ipsum instead :)
I've got a very simple console app that takes an html string and calls pechkin to produce the pdf. It works just find in a dev environment.
Once deployed to a windows 2k8 server, it output this error to the console. FYI. I do not have any console output within my code. This output must be from either pechkin or one of it's dependencies.
Qt: Could not initialize OLE (error 80010106)
Also, I'm using synchronized pechkin.