Library not registered - vb.net

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?

Related

InteropServices.COMException - Class not registered

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 ?

how to resolve System.DllNotFoundException: Unable to load DLL 'sybdrvado20.dll': for sybase

I used the sybdrvado20.dll for my windows service development with vb.net for sybase db connectvity.When i prepared the setup and run on windows server then below sybase error getting.
System.TypeInitializationException: The type initializer for 'Sybase.Data.AseClient1.AseConnection' threw an exception. ---> System.DllNotFoundException: Unable to load DLL 'sybdrvado20.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Retrieving the COM class factory for component with CLSID {XX} failed due to the following error: 80004005 Unspecified error

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?

Retrieving the COM class factory for component with CLSID {4C2901D1-5354-11D4-A6F9-00508B4ACA2C} failed due to the following error: 80040154

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):

How to open VS2005 file/project in VS2013

I`m working on a project which requires the using of older (2005) library.
When I try to add the library to references, an error pops up telling me that(see picture attached)
The following is exception details:
System.DllNotFoundException occurred
HResult=-2146233052
Message=Unable to load DLL 'edk.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
Source=DotNetEmotivSDK
TypeName=""
StackTrace:
at Emotiv.EdkDll.Unmanged_EE_EmoEngineEventCreate()
at Emotiv.EdkDll.EE_EmoEngineEventCreate()
at Emotiv.EmoEngine..ctor()
at Emotiv.EmoEngine.get_Instance()
at MindComposer.EmotivSDK.HeadsetConnection.Main(String[] args) in c:\Users\Vlado Bogdanov\Documents\Visual Studio 2013\Projects\MindComposer\MindComposer\NeuroProcessing\HeadsetConnection.cs:line 37
InnerException: