Skip to content

No such file or directory #3

Open
@craigs100

Description

Using the following in a Master page in a Umb 9.2.0 site

@using TemplateToPdf.Builders
@inherits Umbraco.Cms.Web.Common.Views.UmbracoViewPage<IPublishedContent>

var pdfUrl = new PdfUrlBuilder().UsingGetByIdMethod(Model.Id).WithTemplateAlias("ThreeColumnPage").AddPdfFileName(Model.Name).Url();

and in the footer:

<a target="_blank" href="@pdfUrl">See PDF</a>

The link is : http://localhost:9531/Umbraco/ToPdf/Convert/ById?id=32722&viewName=ThreeColumnPage&fileName=Welcome

When I hit the link I get :

Win32Exception: No such file or directory
System.Diagnostics.Process.ForkAndExecProcess(string filename, string[] argv, string[] envp, string cwd, bool redirectStdin, bool redirectStdout, bool redirectStderr, bool setCredentials, uint userId, uint groupId, uint[] groups, out int stdinFd, out int stdoutFd, out int stderrFd, bool usesTerminal, bool throwOnNoExec)

The .exe is in place:-
image

I'm running on Linux, is this a problem?

Regards,

Craig

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