Open
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)
I'm running on Linux, is this a problem?
Regards,
Craig
Metadata
Assignees
Labels
No labels