gmanny / Pechkin

.NET Wrapper for WkHtmlToPdf static DLL. Allows you to utilize full power of the library.
401 stars 128 forks source link

Not working on Windows Azure Website #54

Closed kuttti closed 10 years ago

kuttti commented 10 years ago

1) Start a new ASP MVC project with Visual Studio 2013 2) Install nuget package: PM> Install-Package Pechkin.Synchronized 3) Paste the demo code in an asp mvc controller:

    public ActionResult About()
    {
        ViewBag.Message = "Your application description page.";

        // Inserted demo code
        byte[] pdfBuf = new SimplePechkin(new GlobalConfig()).Convert("<html><body><h1>Hello world!</h1></body></html>");

        return View();
    }

4) Run on local host -> works 5) Run on Windwos Azure Website -> breaks.

Debugger gets stuck on line with "new SimplePechkin..." I also tried it with "new SynchronizedPechkin..." - same problem Only errormessage I find is "The thread ... has exited with code 259"

Could it have anything to do with 32/64 bit version like commented by "germanger" here: https://github.com/gmanny/Pechkin/issues/19