Azure App services (web app) and microsoft office interop RRS feed

  • Question

  • Hi,

    An application is hosted on app service web app (& not on the VM) on Azure.

    We have developed an application using ASP.NET MVC & C# and then hosted it on the Azure.

    Published console application as azure web job to read the data from excel.And Working fine when we run manually. 

    But getting the exception when its run on the app services (web App) 'retrieving the com class factory for component with clsid {00024500-0000-0000-c000-000000000046} failed due to the following error: 80040154 class not registered (exception from hresult: 0x80040154 (regdb_e_classnotreg))'

    We found that it's because of app service does not have the reference of ''microsoft office interop'. But we added the reference to the project from nuget packages. 


    Thursday, November 19, 2020 1:29 PM

All replies

  • azure related forum migrated to mentioned below forum please use this link

    hope answer the question if issue resolve mark as answer

    Thursday, November 19, 2020 2:44 PM