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

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mojde
    New Member
    • Aug 2008
    • 6

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

    Hi all,

    I am using :
    1. Windows XP-Visual Studio 2005
    2. FastReport Studio Trial (www.fast-report.com)

    I have used FastReport Studio Trial (FastReport3.dl l) in my ASP.NET web Site project,Every thing is ok and execute my project and generate report on VS2005 BUT when i publish it in local host (IIS 5.1), the error comes as

    Retrieving the COM class factory for component with CLSID {4764040E-4222-4DEC-9F2E-82D46E212B3A} failed due to the following error: 80040154

    can you help me to solve this error i have one emergency project that it depend to this solution.....


    Your quick response would be really appreciated.

    Best Regards
  • kenobewan
    Recognized Expert Specialist
    • Dec 2006
    • 4871

    #2
    This usually something to do with the class not being registered and not IIS.

    Please do not double post. If you are unsure of the site rules, go to Posting Guidelines.

    MODERATOR

    Comment

    • NaveenSoftwares
      New Member
      • Oct 2010
      • 2

      #3
      I was given a task to convert a VB project to VB.NET. Evrything went well in the conversion and as a result I got a successfull build after some minor changes in the code in VB.NET.But when I made the project to run, it throwed a run time exception as "Creating an instance of the COM component with CLSID {XXXXX} from the IClassFactory failed due to the following error :80004004" when the project accessed a reference file (DLL which has file type as ACTIVEX in its properties).The strange thing is the Dll name used by VB was EXECU.dll. But after the conversion the reference was changed to interop.ECECU.d llEven when I tried to add the reference manually to the dll EXECU.dll, its refernce automatically changes its name to interop.EXECU.d ll.When I browsed the dll content in the object browser I found that the DLL was having the class EXECU inside the namespace (library) but the class was not having any function in it.Do i have to run anything to get the full functionality of the original DLL
      Last edited by NaveenSoftwares; Oct 19 '10, 07:19 AM. Reason: More info

      Comment

      • NaveenSoftwares
        New Member
        • Oct 2010
        • 2

        #4
        Just register the dll as
        regsvr32 [path:\\..\..\Fa stReport3.dll]

        Comment

        Working...