Posted on 22/02/2022 13:39:05
Hi Nicolai,
I tried upgrading the PDFProvider
Print preview still shows the white margin at bottom - but now when i try the download pdf it gives me this
System.Exception: Pdf creator constructor exception ---> System.IO.FileLoadException: Could not load file or assembly 'IronPdf, Version=2021.12.0.4495, Culture=neutral, PublicKeyToken=94e1c31412563c75' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) at Dynamicweb.Imaging.Providers.IronPdfProviders.IronPdfRendererProvider.RenderFromRequest(PdfRequest request, PdfRendererSettings settings) at Dynamicweb.Imaging.Pdf..ctor(String url, String extranetUserName, String extranetPassword, Boolean landscape, Boolean isUsLetterFormat, Int32 leftRightMargin, Int32 topBottomMargin, PdfPaperSize pageSize) --- End of inner exception stack trace --- at Dynamicweb.Imaging.Pdf..ctor(String url, String extranetUserName, String extranetPassword, Boolean landscape, Boolean isUsLetterFormat, Int32 leftRightMargin, Int32 topBottomMargin, PdfPaperSize pageSize) at Dynamicweb.Frontend.PageView.Output()