locked
Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)). RRS feed

  • Question

  • User1005949380 posted

    Hi all.

    plz help me for remove error in my site:

    Retrieving the COM class factory for component with CLSID {000209FF-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
    load word item C# asp.net
    Friday, December 18, 2015 11:33 AM

All replies

  • User753101303 posted

    Hi,

    Usuallly it happens when using a COM object client side (Excel or Word automation for example) without realizing that it will need to be installed on the actual web server.

    What is the object you are trying to create? It not installed on your server.

    Friday, December 18, 2015 12:13 PM
  • User908689340 posted

    Hi Patrice,

    If we implement the code in UAT or Prod we cant keep on installing the Microsoft word or excell due to many licenses. Is there any work around for that

    Wednesday, September 6, 2017 9:27 AM
  • User753101303 posted

    Hi,

    My personal preference is to use "true" free or paid Office file handling librairies rather than Excel or Word through automation. It depends what you need but https://github.com/OfficeDev/Open-Xml-Sdk is a possible start.

    Wednesday, September 6, 2017 4:33 PM