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

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)

Related

Microsoft.Web.LibraryManager.Configuration.Settings cannot find Newtonsoft.Json package

I have a .NET Core 2.2 project setup in Azure DevOps that uses a CI pipeline to build, and recently, after updating the Microsoft.Web.LibraryManager.Build NuGet package to version 2.1.175 the CI pipeline has been throwing the following exception every time I try and run it:
System.TypeInitializationException: The type initializer for 'Microsoft.Web.LibraryManager.Cache.WebRequestHandler' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Web.LibraryManager.Configuration.Settings' threw an exception. ---> System.IO.FileLoadException: Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)
I've tried installing Newtonsoft.Json NuGet package in the project but am still getting this error.
Is there something I need to be adding to the pipeline, or something that I need added to the project itself to resolve this?

Cannot run SSIS package in Visual Studio error unable to cast COM object

Trying to run a simple SSIS package in Visual Studio 2019. I have SQL server 2019. When I run it, it shows the message:
Unable to cast COM object of type 'System.__ComObject' to interface
type 'Microsoft.SqlServer.Dts.Runtime.Wrapper.Sql2019.IDTSApplication160'.
This operation failed because the QueryInterface call on the COM
component for the interface with IID
'{037FE238-12C5-4313-AE13-9E116E90ACEA}'
failed due to the following error: No such interface supported
(Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
(Microsoft.DataTransformationServices.VsIntegration)
I researched this error online and tried running this regsvr32 dts.dll. Didn't help.

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?

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:

Library not registered

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?