Skip to content

Rotativa.AspNetCore v1.2 and v1.1 ViewAsPdf.BuildFile creates a hanging process to wkhtmltopdf.exe in IIS 8.5 #74

Description

@neualex

Call to ViewAsPdf.BuildFile, see code below, using .NET Core 3.1 with either Rotativa.AspNetCore nuget library v1.2 and v1.1 on IIS 8.5 creates a hanging process to wkhtmltopdf.exe

Rotativa.AspNetCore.ViewAsPdf viewAsPdf = new Rotativa.AspNetCore.ViewAsPdf(model);
byte[] pdfData = await viewAsPdf.BuildFile(ControllerContext);

It works as expected locally using IISExpress, but as soon as it is deployed to IIS 8.5, the call hangs on wkhtmltopdf.exe

Thoughts on how to solve this?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions