none
Azure App Service and Microsoft.Office.Interop.Word RRS feed

  • Question


  • I have a requirement to convert Word Doc file to html file .for that I used Microsoft office interop library to convert office document to html for the preview in the browser.The functionality works fine in the local machine .When i deployed it in azure web app i have got an error like below.



    Retrieving the COM class factory for component with CLSID {XXXX} failed due to the following error: 80040154.



    i think this is an assembly issue in the server. If i install the office Package in the server its working right? but Microsoft is not recommended to do that. is there any way to get the solution. Please help me to resolve this issue.



    Thanks in advance!!!



    Regards 

    Mahesh









    Thursday, May 7, 2020 7:30 AM