Using COM References after deplyoing on IIS Server

0

I developed a simple powerpoint conversion (into images) to display them in a caroussel. So I used the

Interop.Microsoft.Office.Interop.PowerPoint

On my devlopment environment it works fine but when I publish it with Azure on my IIS Server, it seems that id does not work.

Exception: System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {91493441-5A91-11CF-8700-00AA0060263B} failed due to the following error: 80040154

Why does it works before the deployment on IIS ? I tried to install powerpoint on the server without succes, could you give me hints ?

image
asp.net-core
powerpoint
asked on Stack Overflow Dec 16, 2020 by Crakenar

1 Answer

1

Well it was too much of a hassle to use Microsoft COM : HRESULT_FAIL + Not all clients have Office + Office Server etc

so I just use this : https://help.syncfusion.com/file-formats/presentation/presentation-to-image

Free Trial can be used multiples times or you can get a licence key for free.

answered on Stack Overflow Apr 26, 2021 by Crakenar

User contributions licensed under CC BY-SA 3.0