Posted by: Vijay Modi | August 13, 2007

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

Article is moved on the following link:

http://mysoftskill.blogspot.com/2009/11/retrieving-com-class-factory-for.html

Regards,
Vijay Modi


Responses

  1. Hello helpers,

    along with this mail i sent my website link ..it contains fileupload option only. here i just upload a pdf file from my local system. when i clicking on go button. its automatically convert into jpg format. its working fine in my local system.

    But its not working in server
    suddenly displayed the foolowing error:

    {Retrieving the COM class factory for component with CLSID {16AA0B9E-79AC-43B5-86CA-AB961FBEED5F} failed due to the following error: 80040154. }

    could you please give me the possible answer.

    Thanks and regards
    Blamurali.P

  2. Hello there,
    Did you find any solution to this problem??
    Many Thanks,

  3. I found out, that the problem is, that you try to use 32-bit resource on 64-bit machine, which gives the following error.

    Solution: you need to change CPU type from “Any CPU”, to “x86″ (but I’ve no idea how to do it)

    • Hi Dagnis_LV,

      Thanks, You saved my life.

    • you can do it

  4. But that doesn’t seem to work. Still getting the error..

  5. To resolve this problem, we have to register the VB6.0 DLL first.

  6. solution is really gr8 on this site:

    http://www.beyondweblogs.com/post/Retrieving-the-COM-class-factory-for-component-with-CLSID.aspx

  7. I am also getting the same problem
    Will any one tell wats the solution?

  8. getting same error. Can’t register the dll and I am have the CPU Type to x86. HELP ME!

  9. I followed the possible solutions, but still have problems, any idea?

  10. I had this issue using a com referenced library had the same issue. I changed the build properties of the application: Platform Target: x86.

    This fixed the issue for me.


Leave a response

Your response:

Categories