Error '80040154' DLL not instantiate. RRS feed

  • General discussion

  • I am using a software product that has a 32bit COM component(foxpro) using

    Visual Studio 2005 Express C# on OS 64 bits and when trying to

    instantiate an object using the following code:

    ws = new

    i receive the following message :
    Error :
    System.NullReferenceException: Object reference not set to an instance of an object.
    at WsFlex.ServiceFlexDotNet.Test() in C:\Users\GFAU\Documents\Visual Studio 2005\Projects\WsFlex\WsFlex\ServiceFlexDotNet.asmx.cs:line 88
    Exception -->
    Retrieving the COM class factory for component with CLSID {ED4E4FEF-24C0-40EA-ADBC-685BF59655BE} failed due to the following error: 80040154.

    The COM DLL is a Foxpro DLL make in 32 bits.
    When I compile it, it s on x86 generation.

    note : i ve read this (  but it don t resolve my problem.
    note 2 : i dont find with regedit this number : ED4E4FEF-24C0-40EA-ADBC-685BF59655BE

    That work on 32 bits environment but not on 64 bit with IIS 7.5 Anyone have an idea ?

    Thx a lot in advance.

    • Edited by G_Angel Monday, February 1, 2010 7:15 PM
    Monday, February 1, 2010 3:27 PM

All replies