I was trying to execute an executable, but got error message:
System.Runtime.InteropServices.COMException (0x80040154): Retrieving the COM class factory for component with CLSID {4C2901D1-5354-11D4-A6F9-00508B4ACA2C} failed due to the following error: 80040154.
this exe comes along with 4 dll files in its own folder:
ATTPRV32.dll
Csta32.dll
Interop.AXS_INPROCLib.dll
Microsoft.VisualBasic.PowerPacks.Vs.dll
I've tried to register each of these dll files but got the same error message:
.DLL was loaded, but the DllRegisterServer entry point was not found
It means the class: 4C2901D1-5354-11D4-A6F9-00508B4ACA2C isnt in the registry plain and simple.
See more here...
System.Runtime.InteropServices.COMException (0x80040154):
Related
I'm having some problems in using a type that comes from an old unmanaged DLL.
gobjDPProject = New DP_Store_21.cProject
When I make this assignment an exception is threw
A first chance exception of type
'System.Runtime.InteropServices.COMException' occurred in mscorlib.dll
Additional information: Retrieving the COM class factory for component with
CLSID {98214FEB-FE5C-495F-A926-F23DC62EEDD6} failed due to the following
error: 80040154 Class not registered (Exception from HRESULT: 0x80040154
(REGDB_E_CLASSNOTREG)).
To check the existence of this class I went to Regedit and found the component with the CLSID reported by the Exception, it exists and under the ProgID subFolder I can see the DP_Store_21.CProject class.
Inside Visual Studio -> My Project -> References I can navigate inside the DP_Store_21 DLL (it's an Interop) and the CProject class is there.
Run regsvr32 /pathTo DP_Store_21.dll gives no problems and the other classes of the library are correctly instantiated, what I am missing ?
I am working on VB.NET WinForm Application ( 32 bit) which references third party COM dll (32 bit). My Target Platform points to x86. I registered the dll using command prompt as administrator. However while creating the instance of dll it intermittently not able to create it and I get the following COM exception:
Retrieving the COM class factory for component with CLSID
{0CBDC6C1-3D1E-4CEB-A89E-5D081985E874} failed due to the following
error: 80004005 Unspecified error (Exception from HRESULT: 0x80004005
(E_FAIL)).
Can anyone help me with this, please?
when i was trying to register my own com dll it is giving me error as
"The module ClassLibrary was loaded but entry point dllregister server was not found.
I have an old VB.Net application using Interop.ebCryptLib.dll that I couldn't get to work. I get the following error:
Retrieving COM class factory for component with CLSID {...} failed due to the following error: 80040154
I've searched for the error online and tried the following:
Register the dll using regsvr32 but I get the error "entry point was not found"
I tried recompiling the project and set the platform to x86 but still get the same error.
Is there any other suggestion I can try? This is an old application developed by another person. I do have access to the code and am unable to get it to work properly.
Was able to resolve this by finding the original ebCrypt.dll online. Thanks for the help #HansPassant
I got this error :
Warning 1 Cannot get the file path for type library
"a5ededf4-2bbc-45f3-822b-e60c278a1a79" version 12.0. Library not
registered. (Exception from HRESULT: 0x8002801D
(TYPE_E_LIBNOTREGISTERED)) OCRMongo
In vb.net
I follow instruction from
http://www.techrepublic.com/forum/questions/101-345154/how-do-i-install-microsoft-modi-110
and I still get that warning. What's the problem?