.NetCore appto update Visio document programmatically throws error when published as WebApp on Azure

Microsoft

Problem Description

.NET Application to create/update a visio doc programmatically does not work when published as App service Web App on Azure. It works fine on local dev box with Visio installed on it.

It throws below error when we run as a web app in cloud. We are using VisioAutomation2010(2.6.0) package for the automation within the Application.

Error Message : System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {00021A20-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (0x80040154 (REGDB_E_CLASSNOTREG)). 

 

Help Needed : Need solution to run the program as app service web app in Azure or any better way to do this.

0 Replies