Git Product home page Git Product logo

Comments (6)

datimson avatar datimson commented on September 14, 2024

It seems my problem was I forgot to set the project platform target setting to x86 instead of any cpu. It also caused the IIS worker process (w3wp.exe) to run at 100% cpu usage until I did a recycle on the application pool.

from wkhtmltoxsharp.

datimson avatar datimson commented on September 14, 2024

Also, for the sake of helping anyone else who might have this problem, when debugging with WkHtmlToXSharp in ASP.NET you need to stop the ASP Development server before restarting or rebuilding the application - this is what was causing my text only PDF outputs.

from wkhtmltoxsharp.

abedijoo avatar abedijoo commented on September 14, 2024

I don not understand exactly how this problem could resolve? Please explain more...
(I published the related project that used WkHtmlToXSharp.dll in IIS7.5, and this problem occur again.)

from wkhtmltoxsharp.

datimson avatar datimson commented on September 14, 2024

What problem are you having, text only output OR the IIS worker process (w3wp.exe) is running at 100% cpu usage?

from wkhtmltoxsharp.

abedijoo avatar abedijoo commented on September 14, 2024

Both of them....
PDF generated in plan text(all images, styles and layout such as tables ect are missing).
IIS worker process (w3wp.exe) is running at 100% cpu usage

what are the solutions?

from wkhtmltoxsharp.

datimson avatar datimson commented on September 14, 2024

OK, well I'll try to be as clear as I can:

To fix "IIS worker process (w3wp.exe) is running at 100% cpu usage":
WkHtmlToXSharp is not 64bit compatible so you need to make sure your visual studio project 's settings have platform target set to x86 OR when you deploy it to IIS you can run it in a 32bit only application pool.

To fix "IIS worker process (w3wp.exe) is running at 100% cpu usage":
I only had this problem on my development machine when running my application from visual studio, not in IIS. However, what I needed to do was close the ASP Development server before restarting the application each time.

I hope this helps.

from wkhtmltoxsharp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.