Developer forum

Forum » CMS - Standard features » Exception IronPdf

Exception IronPdf

Kenneth Radoor
Reply

Hi

We get the following exeption when we try to generate a pdf from a list in the customercenter. (/produktkatalog/produktkatalog?listId=61&pdf=true)

This is the exeption:

System.Exception: Pdf creator constructor exception ---> System.Threading.ThreadAbortException: Thread was being aborted. at IronPdf.Engines.Chrome.ChromeClient.() at System.Lazy`1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy`1.get_Value() at .RenderPdfDocumentFromUri(ChromePdfRenderOptions Options, ChromeHttpLoginCredentials Login, Uri url) 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()

The version of DW is 9.12.10

Any suggestions how to solve this ?

Regards

Kenneth

Dump.png

Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Could be a redirect issue on the page your are trying to save to PDF. TheadAbortException indicates a redirect which throws this exception.

Later versions of Dynamicweb have an upgrade of IronPDF which might also be worth a shot.

 

You must be logged in to post in the forum