-
Notifications
You must be signed in to change notification settings - Fork 435
Open
Description
I'm working on a ASP.NET Core MVC app and I wanted to use DinkToPdf library to convert Html to PDF.
I get this error in the console, when I first access a page that uses the IConverter from the services:
Qt: Could not initialize OLE (error 80010106)I still get the PDF with no issues.
I think the issue is somewhere around calling: new SynchronizedConverter(new PdfTools())
As I have it in the services as a singleton and only called the first time it's accessed:
services.AddSingleton(typeof(IConverter), new SynchronizedConverter(new PdfTools()));Emilien-M, Halonico, CennoxX, horzso and swotiendang
Metadata
Metadata
Assignees
Labels
No labels