Open mjwd opened 11 years ago
@mjwd - I ran into a similar issue after installing from Github in my MVC4 project. Github put the DLLs into the root of the site. Moving them to the BIN folder and then calling the Convert() method with a generic GlobalConfig should work.
This should at least let you start creating PDFs, but calling any switches seem to make it hang for me too. Trying some work-arounds for now to get it working.
I got the above solution from this long thread, comment from @mb280sel1985 https://github.com/gmanny/Pechkin/issues/5
Hi
Am hoping to use this in a web app but can't even get a simple test to work.
In the pageload I'm doing:
byte[] pdfBuf = new SynchronizedPechkin(new GlobalConfig()).Convert("<html><body><h1>Hello world!</h1></body></html>");
in Visual Studio 2010 development environment (localhost etc).
It builds ok but just hangs. Never gets past that line. No errors or anything.
Something obvious I'm missing?
Many thanks