Windows error 0x8007007E, -2147024770

Detailed Error Information

MOD_NOT_FOUND[1]

MessageThe specified module could not be found.
Declared inwinerror.h

HRESULT analysis[2]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[2][1]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[2][1]
Error Code126 (0x007e)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x0000007e.

Questions

182votes
40answers

Unable to load DLL 'SQLite.Interop.dll'

Periodically I am getting the following exception: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) I am using 1.0.82.0. version, installing it with nuget in VS2010, OS Win7 64. Once exception starts to appear, it appears constantly - in debug and release [...] read more
c#
visual-studio-2010
sqlite
105votes
16answers

Unable to load DLL (Module could not be found HRESULT: 0x8007007E)

I have dll library with unmanaged C++ API code I need to use in my .NET 4.0 application. But every method i try to load my dll i get an error: > Unable to load DLL 'MyOwn.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) I have [...] read more
c#
c++
dll
pinvoke
31votes
9answers

Failed to CoCreate Profiler error - but not using a profiler

We're getting a: > .NET Runtime version 2.0.50727.5448 - Failed to CoCreate profiler message in the Event Viewer on our webserver, along with an accompanying: > .NET Runtime version 4.0.30319.239 - Loading profiler failed during CoCreateInstance. Profiler CLSID: '{d37a1b78-6dc5-46fc-bc31-f7c4d5a11c9c}'. HRESULT: 0x8007007e. Process ID (decimal): 224. Message ID: [0x2504]. The thing [...] read more
asp.net
.net
iis
profiler
20votes
4answers

Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider

In my project, I use SQL CE 3.5 database with entity framework and followed this article but i have this exception : > Unable to load the native components of SQL Server Compact corresponding to the ADO.NET provider of version 8080. Install the correct version of SQL Server Compact. Refer [...] read more
c#
entity-framework
sql-server-ce
18votes
7answers

unable to load cvextern in a c# project

i'm trying to debug my program, using emgu and HaarCascade in c#. i'm getting an exception like so : > Unable to load DLL 'cvextern': The specified module could not be found. (Exception from HRESULT: 0x8007007E) i've added the file cvextern.dll to my project and tried both "copy always" and [...] read more
c#
dll
emgucv
14votes
3answers

Unable to load DLL 'libdl' when using System.Drawing.Common NuGet package on AWS Lambda

We have a thumbnail generator lambda function which I'm trying to update to .NET Core 2.0, but I've encountered the following error when using Microsoft's System.Drawing.Common NuGet package: > TypeInitializationException The type initializer for 'Gdip' threw an exception. at System.Drawing.SafeNativeMethods.Gdip.GdipCreateBitmapFromScan0(Int32 width, Int32 height, Int32 stride, Int32 format, HandleRef scan0, IntPtr& [...] read more
c#
aws-lambda
.net-core-2.0
11votes
7answers

TuesPechkin unable to load DLL 'wkhtmltox.dll'

I've been using TuesPechkin for some time now and today I went to update the nuget package to the new version 2.0.0+ and noticed that Factory.Create() no longer resolved, so I went to read on the GitHub the changes made and noticed it now expects the path to the dll? [...] read more
c#
asp.net
dll
wkhtmltopdf
pechkin
10votes
2answers

Unmanaged DLL in ASP.NET MVC app causes App pool to stop on IIS server

My ASP.NET MVC App uses an unmanaged external DLL written in C++. This website runs fine from within Visual Studio, locating and accessing the external DLLs correctly. However, when the website is published on a local webserver (running IIS 7.5) rather than the Visual studio IIS Express I get the [...] read more
c#
asp.net
asp.net-mvc
dll
8votes
7answers

Unable to load DLL ‘ABCpdf9-32.dll’. The specified module could not be found (Exception from HRESULT: 0x8007007E)

Development and deployment on 32-bit system were successful, but a production system running Windows Server 64-bit caused several errors: > Exception System.DllNotFoundException Unable to load DLL ‘ABCpdf9-32.dll’. The specified module could not be found (Exception from HRESULT: 0x8007007E) read more
c#
7votes
7answers

Unable to load DLL 'opencv_core242': The specified module could not be found. Emgu CV

I'm trying to start using emgu CV open CV for C#. But I'm having trouble making it work. I'm following this guide to make simple program using emgu CV Link but I get following error: (any idea what I'm doing wrong?) System.TypeInitializationException was unhandled Message=The type initializer for 'Emgu.CV.CvInvoke' threw [...] read more
c#
emgucv
6votes
2answers

Firebird .NET provider and embedded server 3

I'm trying to use .NET Firebird Provider to connect to the embedded FB 3.0.1 server. As far as I know, (also written here (page 6)), there is no more fbclient.dll\fbembed.dll but a single client fbclient.dll used for remote and embedded access. But when I call the FBConnection.Open() I get a [...] read more
c#
firebird
firebird-3.0
firebird-embedded
firebird-.net-provider
5votes
2answers

Failure to install NetFX3 on Windows Server 2012: Error 3017 -- Am I missing something here?

I am really struggling to get this installed. I have tried the suggestions here in an attempt to rectify any possible corruption. I mounted the disk image to 'G' to do an offline install. I also attempted an online install with similar results. Output as follows: Microsoft Windows [Version 6.2.9200] [...] read more
windows-server-2012
.net-3.5
5votes
7answers

Visual Studio C# - SQLite.Interop.dll not found

I am currently trying to create with Visual Studio a C# application working with SQLite. I installed SQLite for my program with NuGet and three references appeared in the Solution Explorer (System.Data.SQLite, System.Data.SQLite.EF6, System.Data.SQLite.Linq). When I execute my app in VS, everything works fine. However, whenever I publish it (with [...] read more
c#
sqlite
dll
visual-studio-2015
5votes
2answers

Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll

I am working on a project which is built under 4.7.1. when I rebuild the solution, getting following error. > Error CS0041 Unexpected error writing debug information -- 'Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' project name Location name\CSC 1 N/A [...] read more
c#
asp.net-core
.net-core
visual-studio-2017
4votes
0answers

DllImport native dependency from NuGet package not working on net472, but works netcoreapp2.2

My project currently works flawlessly on .NET Core (Linux/OSX/Windows/ netcoreapp2.2). It should work on net472 as well, but for some reason, DllImport isn't finding the native dependency. A simple repro can be found here, but I will expand further in this question for posterity. Here is the project that is [...] read more
.net
nuget
pinvoke
3votes
3answers

Cannot install RDS-Web-Access

I'm trying to install the remote desktop web access role in server 2012, a simple task you might think, however whenever I try to do this, I get this error: add-windowsfeature : The request to add or remove features on the specified server failed. Installation of one or more roles, [...] read more
windows
windows-server-2012
remote-desktop-services
3votes
1answer

new-WindowsImage stalls with 0x8007007E, can't load unattend.dll

I'm trying to convert capture a .VHDX as a .WIM file. The file in question is a syspreped Windows 7 generalized image. - I'm working on Windows 8.1 and I have the Windows ADK installed. - In powershell I issue the command. New-WindowsImafe -capturepath e:\ -name Windows7Image -ImagePath d:\wim\windows7.wim -description [...] read more
powershell-v4.0
dism
3votes
1answer

Error 0x8007007e When trying to mount WinPE 5 wim in Windows 7 using Powershell

Using ADK for Windows 8.1, and the DISM cmdlets that come with them. I have WMF 4.0 installed. My machine is Windows 7 x64 SP1, and I'm trying to mount the wim using PS C:\Users\BigHomie> Mount-WindowsImage -ImagePath 'C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Windows Preinstallation Environment\x86\ en-us\winpe.wim' -Path C:\WinPE_x86 -index [...] read more
powershell
windows-8.1
dism
3votes
2answers

Running ASP.NET 5 on Nano Server throws "Unable to load DLL 'kernel32'"

I have created a simple ASP.NET 5 project based on the ASP.NET 5 beta 8 Visual Studio template. I have published the project using this command dnu publish <path to project.json> --out <path to publish folder> --configuration Release --runtime dnx-coreclr-win-x64.1.0.0-beta8 --wwwroot-out "wwwroot" --no-source After I run the web.cmd on nano [...] read more
asp.net-core
asp.net-core-mvc
dnx
windows-server-2016
nano-server
3votes
2answers

System.DllNotFoundException: Unable to load DLL 'SqlServerSpatial110.dll': The specified module could not be found

I am doing a project which having some functions on Geographical distance calculation. So I use geographical datatypes in entity framework by adding nuget package SqlServerSpatial110.dll for that function. I think my code is correct. Everything is working on local server. But when I uploaded it to server it shows [...] read more
c#
asp.net
.net
dll
geospatial
3votes
1answer

OpenTK error, Unable to load DLL 'libGLES.dll

So I just got started with OpenTK, and have this code in a class that subclasses the GameWindow class: protected override void OnRenderFrame(FrameEventArgs e) { base.OnRenderFrame(e); int val = (int)ClearBufferMask.ColorBufferBit; GL.Clear(val); this.SwapBuffers(); } On calling GL.Clear(val), I get the following exception: > An unhandled exception of type 'System.DllNotFoundException' occurred in [...] read more
dll
opentk
3votes
4answers

Unable to load DLL in C#

how to load a dll in a c# project error: > Unable to load DLL 'Reader.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) code sample: [DllImport("Reader.dll")] public static extern byte OpenReader(ref IntPtr hCom, byte LinkType, string com_port); image:exception screenshot [https://i.stack.imgur.com/fQGIC.png] read more
c#
dll
dllimport
3votes
3answers

Unable to load dll file - exception 0x8007007E

I'm working with National Instruments Measurement Studio in C#, and I've come across a bit of a problem in deploying my application to a particular computer (running Windows 7). I've tried asking on the National Instruments forums, but haven't got any solutions yet - could anyone here give me some [...] read more
c#
.net
dll
3votes
6answers

Connect-ServiceFabricCluster : Argument 'Connect-ServiceFabricCluster' is not recognized as a cmdlet: Unable to load DLL 'FabricCommon.dll'

I installed Service Fabric by using the Install the Service Fabric runtime, SDK, and tools for Visual Studio 2015 Update 2 link from Prepare your development environment. Trying to publish a Service Fabric Application fails with: > 2>Connect-ServiceFabricCluster : Argument 'Connect-ServiceFabricCluster' is not recognized as a cmdlet: Unable to load [...] read more
azure-service-fabric
2votes
1answer

Cannot Enable Hyper-V on my machine

I'm trying to enable Hyper-V on my machine in order to use Docker. I've tried letting Docker enable it, using Windows Features to enable it, and using Powershell (as administrator). My system is running Windows 10 Pro 64-bit and has all of the Hyper-V options enabled (VM Monitor Mode Extensions, [...] read more
hyper-v
docker
2votes
1answer

Ubuntu on Windows showing WSL as not enabled, even though Windows showing WSL as enabled

When I launch Ubuntu, I receive the following error: The WSL optional component is not enabled. Please enable it and try again. See https://aka.ms/wslinstall for details. Error: 0x8007007e Press any key to continue... However, when I check features in PowerShell using Get-WindowsOptionalFeature -Online, I see the following: FeatureName : Microsoft-Windows-Subsystem-Linux [...] read more
ubuntu
windows-subsystem-for-linux
2votes
3answers

Win 7 time service error

I see a warning in my Win7 Events Log: The time service has not synchronized the system time for 86400 seconds because none of the time service providers provided a usable time stamp. The message suggests that I run: w32tm /resync When I try to run that command, I get [...] read more
windows-7
time-synchronization
2votes
1answer

Msmdpump.dll OLAP data pump is throwing a 500 error

How do I resolve this issue with requests to msmdpump.dll for connections to SQL Server Analysis Services? I am receiving a 500 Error from the IsapiModule. On a Windows Server 2012 R2 machine, with IIS 8.5, I have setup the OLAP data pump (msmdpump.dll), using the following instructions: https://msdn.microsoft.com/en-us/library/gg492140.aspx#bkmk_copy * [...] read more
sql-server
iis
ssas
olap
isapi
2votes
0answers

Where shall I put a DLL generated in another project from the same solution -I am using Visual Basic Visual Studio 2017-?

I have created a C++ DLL in Visual Studio 2017 using the following sources: Header: stdfax.h // stdafx.h : include file for standard system include files, // or project specific include files that are used frequently, but // are changed infrequently // #pragma once #include "targetver.h" #define WIN32_LEAN_AND_MEAN // Exclude [...] read more
c++
vb.net
dll
2votes
4answers

problems running x86 Asp.net application on 64-bit windows with IIS7.5

I'm currently in the process of preparing a new server to run our ASP.Net platform on. For the first time I'm doing the installation on a 64-bit Windows (2008 R2), and with IIS7.5 (before that always 7.0). Our website is built in x86, so I've enabled the application pools to [...] read more
asp.net
64-bit
iis-7.5
windows-server-2008-r2
2votes
1answer

How to get Python.Net to use Python 3.6 Anaconda Distribution

How do I get Python.NET to use Python 3.6? I copied the sample code below and when I run it I get the error: Unhandled Exception: System.DllNotFoundException: Unable to load DLL 'python35': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at Python.Runtime.Runtime.Py_IsInitialized() at Python.Runtime.Runtime.Initialize() at Python.Runtime.PythonEngine.Initialize(IEnumerable`1 args, [...] read more
python
python.net
2votes
1answer

CreateInstance Returns "The specified module could not be found."

I've been trying to get a program that worked on Windows 2000 to work on Windows 2003. Everything I've had to do so far to get the program to work on Windows 2003 has had to do with incorrect configuration. Right now, this piece of code: chr = pAdapterEnvPtr.CreateInstance(__uuidof(PFADAPTERMNGLib::PFAdapterEnv)); is [...] read more
c++
com
windows-server-2003
com+
createinstance
2votes
2answers

How do I connect to DB2 from a docker container using ASP.Net Core?

I am attempting to connect to a DB2 server (on prem) from a Windows based Docker container. It is currently using the IMB.Data.DB2.Core nuget package (latest). The docker file is just the auto-generated file that Visual Studio 2019 creates with no changes. The project is set to 64-bit and there [...] read more
docker
.net-core
db2
dockerfile
asp.net-core-webapi
2votes
2answers

python.net: Unable to load python27.dll with winforms but console application works

I'm using .net framework 4.5 but have had the same result with 4.0: If I write a bare bones console application to initialize python.net, it works as expected. If I try to do the same thing from a winforms application, I get "Unable to load DLL 'python27': The specified module [...] read more
c#
python.net
2votes
0answers

Access informix using C# inside docker container

I am working on migrating a NET application that accesses an Informix database so that it can run in a Docker container. I have done a POC and when I run it on my local machine it works correctly. But when I want to run the same application inside a [...] read more
c#
docker
db2
informix
2votes
2answers

VSS to TFS ERROR: Retrieving the COM class factory error: 8007007e

I am trying to run an incremental migration using the VSS Upgrade tool. I'm migrating through the command prompt. I have in the past successfully migrated all our projects and history to TFS, I have also checked in incremental migrations. However, now that I'm doing it for a 3rd time [...] read more
tfs
visual-sourcesafe
vssconverter
1vote
0answers

How Can I Execute DISM Through A Specific Source On Windows 10?

Right now I my computer crashes with errors like SystemService exception. It does this quite frequently. Especially if I run a GPU intensive application like a game. I've executed a DISM command for RestoreHealth after sfc /scannow revealed corrupted files. However, it seems that the files needed for that are [...] read more
windows-10
hard-drive
command-line
iso-image
dism
1vote
0answers

My audio and video drivers are not working, planning on factory reset, is this the appropriate solution?

I recently downloaded a packaged application, accidentally installing a dozen unwanted programs. They are literally causing pop ups to randomly happen and it seems that over half of the unwanted programs are actually downloading and installing their own software packages without even asking me. These are eating up my CPU, [...] read more
drivers
virus
malware
reset
worm
1vote
1answer

After upgrading to Windows 10 the Invantive Control for Exact Online add-in is gone in Microsoft Excel

My PC was upgraded from Windows 7 to Windows 10. This was done using formatting the hard disk and then re-installing all software. I used to have a Developers ribbon in which I could disable/enable the COM-addin of Invantive. The Developers in Excel is now missing. Neither can I find [...] read more
microsoft-excel
invantive-control
1vote
1answer

Install Hyper-V on Windows 8 PRO

I've tried to install Hyper-v platform component on my Windows 8 Pro. I got no message about anything going wrong. Just after "need restart" i got 30% progress done, then sudden restart again and "canceling unsuccessful install" message. No log messages, or rather say i don't know where to look [...] read more
windows-8
installation
hyper-v
1vote
2answers

Server 2016 eval to essential

currently I have the following running: Name: Windows(R), ServerStandardEval edition Description: Windows(R) Operating System, TIMEBASED_EVAL channel Product Key Channel: Retail:TB:Eval and bought a Windows Server 2016 Essentials key. However, changing the product key via System fails with: screenshot [https://i.stack.imgur.com/JEX1u.png] Executing Cscript.exe %windir%\system32\slmgr.vbs /ipk <***KEY***> returns Error: 0xC004F069 On a computer [...] read more
windows-server-2016
activation
evaluation
1vote
1answer

Cannot uninstall KB4338815

Trying to uninstall this update as it breaks one of our .net applications but it will not remove. Tried in Installed Updates which fails, also tried removing via DISM which fails with the log below (I had to remove timestamps and a little inconsequential data to make it all fit [...] read more
windows
windows-server-2012-r2
update
windows-update
1vote
2answers

BizTalk MQSC adapter configuration error & IBM WebSphere MQ Client V6.0

I'm having trouble configuring the MSQC adapter for BizTalk Server 2006. At the moment I'm getting the following error when setting up a receive location or send port: The adapter "MQSC" raised an error message. Details "The specified module could not be found. (Exception from HRESULT: 0x8007007E) A dependency could [...] read more
configuration
biztalk
ibm-mq
1vote
4answers

An error occured synchronizing windows with time.windows.com

Okay so I've tried stopping/registering the win32tm service on this Windows Server 2008 Enterprise Computer. C:\Users\Administrator>net stop w32time The Windows Time service is stopping. The Windows Time service was stopped successfully. C:\Users\Administrator>w32tm /unregister The following error occurred: Access is denied. (0x80070005) C:\Users\Administrator>w32tm /unregister W32Time successfully unregistered. C:\Users\Administrator>w32tm /register W32Time successfully [...] read more
windows-server-2008
w32time
1vote
1answer

Diagnosing "The specified module could not be found" on IIS7 with ASP.Net

I am migrating some web apps from a windows 2003 server with IIS6 server to a Windows server 2008 R2 server with IIS7. One of the apps, which runs on asp.net v2.0 using forms authentication will not load. It gives me the following error... > The specified module could not [...] read more
windows-server-2008-r2
iis-7
1vote
0answers

Can't get imagemagick to work on windows server 2008

I'm trying to install ImageMagick-6.5.9-10-Q16-windows-dll.exe on windows server 2008 x86, the installation went good but in my application I can get it to work. I'm doing exactly the same steps on my local windows 7 machine and it's works fine there. I'm going now to do the last try and [...] read more
windows-server-2008
imagemagick
1vote
1answer

Unable to load DLL 'tensorflow' or one of its dependencies (ML.NET)

I have a .NET Core 3 app for image classification, using Microsoft's ML.NET framework. On my development machine, I can run the code and it all works fine. However, when I deploy it to my staging server, I get this error at runtime: System.Reflection.TargetInvocationException: Exception has been thrown by the [...] read more
c#
tensorflow
dll
asp.net-core-3.0
ml.net
1vote
2answers

DinkToPdf Net Core not able to load DLL files

I am try to generate PDF from html sql server database using DinkToPdf library. In the Startup file I have added var context = new CustomAssemblyLoadContext(); context.LoadUnmanagedLibrary(Path.Combine(Directory.GetCurrentDirectory(), "libwkhtmltox.dll")); The line gives me error on launching the web app > DllNotFoundException: Unable to load DLL 'C:\Program Files\IIS Express\libwkhtmltox.dll' or one of [...] read more
c#
.net-core
wkhtmltopdf
html-to-pdf
dinktopdf
1vote
2answers

OpenCVSharp: Unable to load DLL 'OpenCvSharpExtern'

I have installed the latest OpenCVSharp 2 (2.4.10.201...) with the NuGet manager in my project. Everything concerning OpenCVSharp.CvMat is working OK (loading, manipulation etc) so I am sure the installation is correct. However I cannot use OpenCVSharp.CPlusPlus at all! The problem is that it doesn't load OpenCvSharpExtern.dll. Error shown from [...] read more
c#
.net
opencv
opencvsharp
1vote
0answers

Unable to install Microsoft WebDriver for Microsoft Edge version 18

I am trying to install Microsoft WebDriver for Microsoft EdgeHTML 18.17763 using below command. DISM.exe /Online /Add-Capability /CapabilityName:Microsoft.WebDriver~~~~0.0.1.0 but it is giving below error. > Deployment Image Servicing and Management tool Version: 10.0.17763.1 Image Version: 10.0.17763.615 [==========================100.0%==========================] Error: 0x8024002e DISM failed. No operation was performed. For more information, review the [...] read more
windows-10
microsoft-webdriver
1vote
0answers

Intermittent File Not Found Exception retrieving COM class using NetOffice to create Excel File (C#)

I have a program that runs on a SBS 2008 server which has Office 2007 installed and creates a report in an Excel file that is emailed. I'm using NetOffice to create the Excel file and it works most times. However, it's regularly throwing a File Not Found exception and [...] read more
c#
filenotfoundexception
netoffice
1vote
1answer

How to use 'Microsoft.CognitiveServices.Speech' namespace with Azure Functions?

I'm testing the Microsoft Azure Speech services, specifically trying to use Text-To-Speech. So, I'm using a free layer of Azure, and created a TimeTrigger Azure Function to read an e-mail, traverse through HTML and then call the Speech Service with the SDK Microsoft.CognitiveServices.Speech. I'm using the function.proj to load the [...] read more
c#
azure
azure-functions
text-to-speech
1vote
1answer

DllNotFoundException: Unable to load DLL 'libvlc': The specified module could not be found

I am setting up a video player using LibVLCSharp (Vlc nuget package). I have installed VideoLAN.LibVLC.Windowsand LibVLCSharp.WPF and so far everything looks fine before I compile and run my code. My VideoPlayer.xaml.cs file like this: using LibVLCSharp.Shared; using System.Windows; using System.Windows.Controls; using System.Windows.Media; using MediaPlayer = LibVLCSharp.Shared.MediaPlayer; namespace kec_wpf.ui { [...] read more
c#
visual-studio
vlc
libvlcsharp
1vote
1answer

Keep getting "Unable to load DLL 'SQLite.Interop.dll':" in VS 2017 with C# .net 4.6.1

I am getting the following error in my Web project in Visual Studio 2017: > Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Now, I have read ALL of the other StackOverflow questions with the same or similar titles and NONE of [...] read more
c#
.net
nhibernate
visual-studio-2017
sqlite-net
1vote
1answer

Visual Studio 2017 Error initializing VroomJs.JsEngine

My project uses Reactjs, and I use Visual Studio 2017. Recently I did an software update on VS 2017, but no code/config changes. However, when I start my project locally in debug mode, I encountered below error: No JavaScript engines were registered, falling back to a default config! It is [...] read more
asp.net-mvc
reactjs
visual-studio
1vote
0answers

Access Informix using C# (Net Core 2.2) inside a Windows Docker container

I am working on migrating a NET Core application that accesses an Informix database so that it can run in a Windows Docker container. I have done a POC and when I run it on my local machine it works correctly. But when I want to run the same application [...] read more
c#
docker
.net-core
db2
informix
1vote
0answers

Error in loading c++ dll in c# project in visual studio 2013

I have been struggling with a very strange situation regarding loading my of a third party unmanaged c++ dll in my c# project. I have added the unmanaged dll in folder of my bin and in my c# code file i have imported the dll using Dll import attribute. The [...] read more
c#
c++
dll
visual-studio-2013
loading
1vote
1answer

How to make SqLite work in Windows 10 at the publication

There is a classic application where Microsoft is used.Entity Framework Core.Sqlite, trying to publish an application through Windows 10 deployment and throws an exception: DllNotFoundException: Unable to load DLL "e_sqlite3": the specified module could not be found. (Exception from HRESULT: 0x8007007E) Tried adding e_sqlite3 library to " Windows application packaging [...] read more
c
wpf
sqlite
1vote
2answers

Service Fabric Client on Azure Functions - Unable to load DLL 'FabricClient.dll' or one of its dependencies

I have an application running on Azure Functions, including a class that manages apps & services running on Service Fabric Cluster using Service Fabric Client API for .NET. Application works when I run it locally in debug mode from Visual Studio, and connection to Service Fabric Cluster works as expected. [...] read more
azure-functions
azure-service-fabric
0votes
0answers

Trying to install a windows xp program on windows 7 and receiving error 0x80040154 then 0x8007007e

I have a windows xp program that works fine in Windows XP. I am trying to install this program in a Windows 7 (32bit) on Intel (64bit) system. I receive the following error: "Retrieving the COM class factory for component with the CLSID {xxxxxxxx-xxxx-xxxxxxxx-xxxxxxxxxxxx} failed due to the following error: [...] read more
windows-7
windows-xp
windows-registry
0votes
1answer

Installing Features On Demand from an ISO File

I am trying to install RSAT tools on Windows 10 1809 through Features on Demand since that is where they put them now instead of downloading a package installed. (Because why make it easy). I have imported cab file: Microsoft-Windows-Server-AppCompat-FoD-Package~31bf3856ad364e35~amd64~~.cab So when I do /Get-Capabilities it shows I have the [...] read more
windows-10-v1809
0votes
0answers

How to call dismapi.dll on Windows 7

How do I install the DISMAPI on Windows 7? There is the function DismGetDrivers that I want to use on Windows 7. According to the documentation it is supported on Windows 7. However a program I have written that calls the dismapi.dll reports: Unhandled Exception: System.DllNotFoundException: Unable to load DLL [...] read more
windows-7
windows
installation
windows-installation
adk
0votes
1answer

Windows won't update, or install .NET framework, or run sfc /scannow

So, I've been trying a lot of things to get my computer to run a few programs that depend on C++ and the .NET framework. I tried to reinstall the .NET framework, but it failed, with the error message > catastrophic failure (0x8000FFFF) Soon after, I realized that Windows was [...] read more
windows
windows-10
windows-update
.net-framework
c++
0votes
1answer

Windows 8.1: Tasklist: ERROR: Not found

When I run tasklist, I get this error. >tasklist ERROR: Not found >where tasklist C:\Windows\System32\tasklist.exe >tasklist /? TASKLIST [/S system [/U username [/P [password]]]] [/M [module] | /SVC | /V] [/FI filter] [/FO format] [/NH] ... >taskkill ERROR: Invalid syntax. Neither /FI nor /PID nor /IM were specified. Type "TASKKILL [...] read more
windows
command-line
windows-8.1
wmi
0votes
0answers

Cannot update to Windows 10 on HP 15-f014wm

I'm trying to update to Windows 10 on my 15-f014wm laptop. I'm using the "Windows10Upgrader9194.exe" (which updated itself, so the presumably version number at the end may be wrong) thing to update, but after trying to update, it restarts, shows me a window saying that Windows 10 couldn't be installed, [...] read more
windows
windows-update
windows-10-upgrade
0votes
1answer

How to create a Windows To Go that can be updated with OS updates

rem These commands copy the selected image file to rem predefined hard disk partitions on a UEFI-based computer. rem Usage: ApplyImage WimFileName rem Example: ApplyImage E:\Images\ThinImage.wim rem === Copy the image to the recovery image partition ======================= copy %1 F:\sources\install.wim rem === Apply the image to the Windows partition ============================= [...] read more
windows
windows-10
dism
windows-to-go
0votes
0answers

Data recovery failure from Azure Data Recovery Vault using MARS Agent with on-premises computer

Despite trying several times since last night, the recovery of a volume from an Azure Data Recovery Vault to a new location on the original source computer fails after approximately (but not exactly) the same amount of data transfer (~3.7GB of ~7.5GB). If the recovery is attempted over the previously [...] read more
azure
disaster-recovery
restore
0votes
0answers

Error: 14081 Cannot Enable Hyper-V on Windows 10 Pro v1803 17134.590

I ran this command to enable Hyper-V on my machine DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Hyper-V which throws error 14081 The log doesn't state which files are missing, can somebody point me in the right direction? Many thanks! I've tried updating window, bios and running sfc /scannow which didn't solve the [...] read more
hyper-v
windows-10
0votes
2answers

Dll is missing right after publishing it. .net WinForms

Where the files of published project will go after installing it ? I tried putting the DLL inside of the setup folder there yet it has still a same problem. I'm trying to use the DLL using pinvoke [DllImport("tc-b_new_sdk.dll", CallingConvention = CallingConvention.Cdecl)] I receive this error: System.DllNotFoundException: Unable to load [...] read more
c#
.net
dllimport
0votes
1answer

CustomAction failed-"Unable to load DLL 'SQLite.Interop.dll':The specified module could not be found.(ExceptionHRESULT: 0x8007007E)"

I am trying to access the database from a custom action.However the connection is failing with a message "Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)".I want to know that where does a custom action looks for the SQLite.Interop.dll,while connecting to the [...] read more
c#
sqlite
installation
wix
custom-action
0votes
1answer

Access SQLite DB from wix installer custom action

I have build Wix 3.7 setup project. To modify SQLite DB during installation I use custom action. But installation throws an error: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) How can I modify setup project to eliminate this problem? read more
sqlite
wix
custom-action
0votes
2answers

System.DllNotFoundException' occurred in WindowsBase.dll

I'm trying to write a simple program in Visual Studio 2019 that will write a line in the console when a key is pressed using the Keyboard.IsKeyToggled(Key) Method. I've managed to get the code to build, but now this exception appears whenever it gets to the key detection part. > [...] read more
c#
exception
dll
0votes
1answer

Couldn't 'Copy Always' SQLite.Interop.dll Visual Studio 2017 community

I am working on a WPF using C# project in Visual Studion 2017 and am able to run the project in development mode perfectly. But after I publish the project I got the error Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found.(Exception from HRESULT: 0x8007007E). I [...] read more
c#
wpf
sqlite
interop
0votes
1answer

Unable to load DLL 'libargon2.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Geting below error while calling service Message authentication failed. Service: https://dashboard-dev.onsolve.com/DashboardSTS/Service.svc/IWSTrust13/Action: http://docs.oasis-open.org/ws-sx/ws-trust/200512/RST/IssueClientIdentity: ActivityId: SecurityTokenException: Unknown internal error. ---> DllNotFoundException: Unable to load DLL 'libargon2.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) If I manually add it in bin folder,tried both x86/64 .I am getting below error [...] read more
asp.net
wcf
dll
build
dllimport
0votes
0answers

Project including Hyperledger.Indy throws exception of missing 'indy' dll how do I include indy?

Creating a blank project then including HyperLedger.Indy package from NuGet and calling a function from the Hyperledger.Indy namespace causes the program to halt with the following exception: Error: Unable to load DLL 'indy' or one of its dependencies: The specified module could not be found. (0x8007007E) How do I resolve [...] read more
hyperledger-indy
0votes
4answers

"Install-Module -name AzureAD" fails with error on PS6 with MacOSX

I was able to install Powershell Core on MacOSX and now I'm trying to administer an Azure AD instance from the same. When I install the AzureAD module, I get the following error PS /Users/c> Install-Module -name AzureAD Untrusted repository You are installing the modules from an untrusted repository. If [...] read more
macos
azure
azure-active-directory
azure-powershell
powershell-core
0votes
1answer

OleDB or ODBC from Azure Func or Logic App

I have a legacy application which uses Access database (.mdb file). Basically it reads an existing mdb file and fill with new data, which is consumed by downstream systems. We cannot get rid of mdb file and the functionality is very important as it is consumed by various clients. We [...] read more
azure
odbc
azure-functions
azure-logic-apps
oledbconnection
0votes
0answers

FaceRecognitionDotNet: Getting error "Unable to load DLL 'DlibDotNetNative' or one of its dependencies"

I am using FaceRecognitionDotNet library to detect faces in c#. Its working fine locally but when I am executing it on windows server it throwing the error Unable to load DLL 'DlibDotNetNative' or one of its dependencies: The specified module could not be found. (Exception from HRESULT: 0x8007007E) Till now [...] read more
c#
face-recognition
.net-core-3.0
0votes
2answers

SQLite error when publishing .NET Core 2 Console App

I'm having issues publishing a .NET Core console app. It works fine when I run it from Visual Studio and I'm getting zero errors. However, when I publish it with: dotnet publish -c release -r win-x64 --self-contained I'm getting an error about SQLite. I'm using the Microsoft.EntityFrameworkCore.Sqlite library. The error [...] read more
c#
.net
visual-studio
sqlite
0votes
1answer

User control has additional libraries not being found when executing

I am working on a WPF solution, I have a user control in a separate (included) project, this user control references c++ dlls, included by a post script: xcopy "$(ProjectDir)x64\*.dll" "$(TargetDir)" /Y /E /C /F The issue is that the main project is not finding these dlls when executing. > [...] read more
c#
wpf
libraries
dllnotfoundexception
0votes
1answer

TeamCity build failing

I have a web api project that won't build on teamcity when I add a .net framework (4.71) class library to the solution. If I remove the class library, the build succeeds. > [CoreCompile] Csc [12:03:15][Csc] C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\bin\Roslyn\csc.exe /noconfig /nowarn:1701,1702 /nostdlib+ /errorreport:prompt /warn:4 /define:DEBUG;TRACE /highentropyva+ /reference:"C:\Program Files [...] read more
teamcity
csc
visual-studio-2017-build-tools
0votes
3answers

ActiViz.NET.x64 (v5.8.0): Unable to load DLL 'Kitware.VTK.vtkFiltering.Unmanaged.dll'

I'm trying to use the VTK with C# to read and write VTK/VTS files. I created a basic app, and I installed the 64-bit VTK .NET wrapper package which is called ActiViz.NET.x64 (v5.8.0). The package installed without any problems, and I could access the Kitware.VTK namespace, but as soon as [...] read more
c#
.net
dll
wrapper
vtk
0votes
1answer

Issue in deploying website with .srf files on IIS

I am facing an issue in deploying website with .srf files on IIS. Getting an isapi module error. Installed asp.net, extensibility, CGI and ISAPI restrictions as required. HTTP Error 500.0 - Internal Server Error There is a problem with the resource you are looking for, so it cannot be displayed. [...] read more
windows
iis
module
isapi
0votes
0answers

Firebird Database with Visual Studio 2008 not working

I am on Windows 7 with Visual Studio 2008. I installed Firebird 3.0 (the latest version), and I wanted to connect to the database using C#. I also installed Firebird DDEX for Visual Studio 2008. However, when I tried to add firebirdSql.Data.FirebirdClient.dll to the reference in the project, it gave [...] read more
c#
database
dll
firebird
0votes
4answers

C++ dll not found while C# dlls are all found(and works on my computer)

on a clean computer(no visual studio), I zipped up the Debug folder for someone else (which worked on my computer) and someone else tried to start the program and I got the error System.DllNotFoundException: Unable to load DLL 'HookHandler.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) [...] read more
c#
c++
windows
visual-studio-2010
0votes
1answer

How to fix winmgmt error code 0x8007007E?

I'm making C# wrapper class for executing winmgmt and command keeps failing. I tried setting the StartInfo.Verb parameter to "runas" but it did not help. C# application is already elevated. Running command winmgmt /verifyrepository in elevated command prompt works just fine. public static void VerifyRepository() { var p = new [...] read more
c#
0votes
0answers

Unable to load DLL 'db2app64.dll'

I am writing a .NET Framework application and am trying to connect to a DB2 database on a server. When trying, I get the error "System.DllNotFoundException: 'Unable to load DLL 'db2app64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)'". Obviously, this is because that file is not [...] read more
c#
.net
entity-framework
db2
0votes
1answer

Matlab generates x86 dll but it needs to be x64

I have some trouble with my asp.net application which uses matlab functions inside. I generated matlab function on matlab R2016a and then I generated Dll's via matlab compiler / dotnetbuilder. At localhost, I build a MVC Web application with VS2013 which takes an integer input and on backend it generates [...] read more
asp.net
asp.net-mvc
matlab
dll
matlab-compiler
0votes
1answer

System.DLLNotFoundException during runtime (start from visual studio 2017 - x86, debug)

While running my program, when i open the main window, i get a System.DllNotFoundException. The complete exception i get from vs reads: System.DllNotFoundException HResult=0x80131524 Message=Die DLL "FTDIInterface.dll": Das angegebene Modul wurde nicht gefunden. (Ausnahme von HRESULT: 0x8007007E) kann nicht geladen werden. Source=FTDILib StackTrace: at FTDILib.FTDID2XX_Interface.FTDI_Stop() at FTDILib.SerialConnection.FTDISerial.Stop() at FTDILib.SerialConnection.FTDISerial.Finalize() i [...] read more
windows
visual-studio
dll
0votes
1answer

P/Invoke Fusion.dll from a .NET Core application

I'm migrating a .NET application to .NET Core, and one of the tasks that the app needs to do, is to enumerate assemblies the .NET Global Assembly Cache (yes, I know my .NET Core app itself doesn't use the GAC, but one of the purposes of my app is to [...] read more
c#
.net-core
pinvoke
gac
0votes
0answers

Unable to load DLL 'Magick.NET-Q16-x86.Native.dll': The specified module could not be found

When I run project in visual studio, Magick.NET v7.14.0.2 works fine but on deploying on windows server, it gives error: > Unable to load DLL 'Magick.NET-Q16-x86.Native.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Complete exception: System.TypeInitializationException: The type initializer for 'NativeMagickSettings' threw an exception. ---> System.DllNotFoundException: [...] read more
c#
magick.net
0votes
0answers

Native dll not loaded in Asp.Net core project but works fine in console app

I am trying to solve an issue where I have a class library that uses a dll(say A) and in turn, that dll(A) uses a 64 bit native dll. I am referencing the class library in asp.net core web api application in visual studio. When I call a function from [...] read more
c++
.net
asp.net-core
asp.net-web-api
.net-core
0votes
1answer

Can't run a windows form app on other PC, can't find a dll from a project of the same solution

(First things first, I'm kind of new on this type of programming) I'm trying to make a windows form application where i request data from a PLC so it can be stored in a access database. This application is going to be running on a different computer. On the solution [...] read more
c#
.net
0votes
2answers

Deploying a web-based application with Informix database to server

Background A C#/.NET web application that accesses an Informix database. The Client SDK is installed locally. Project references the IBM.Data.Informix.dll in the IBM SDK directory I'm using the older dll because the Informix database we have to access is ancient (Version 7.something) It works perfectly on my machine (Windows 10) [...] read more
.net
informix
0votes
0answers

NUnit Test Project - Unable to create Xamarin MockContext - java-interop could not be found

I have an NUnit test project which works fine on its own until I start trying to bring Xamarin into the mix. Here is what my test looks like just to start: [Test] public void Test1() { //ARRANGE var mockContext = new Android.Test.Mock.MockContext(); var textView = new Android.Widget.TextView(mockContext); //ASSERT var [...] read more
android
unit-testing
xamarin
xamarin.android
nunit
0votes
1answer

.NET Core ASP.NET app unable to load unmanaged DLLs under IIS

In our ASP.NET Core web api, we are attempting to load unmanaged C++ code from a DLL that we included in our published folder. This fails upon calling the endpoint that loads the DLL. The exception is as follows: DllNotFoundException: Unable to load DLL 'libespeak-ng' or one of its dependencies: [...] read more
c#
iis
asp.net-core
0votes
0answers

Topshelf service can't find dll

I have an unmanaged dll that I import into my c# console application: [DllImport("mylib.dll", EntryPoint = "myfunction", CallingConvention = CallingConvention.Cdecl)] public static extern void MyFunction(); The application works just fine. Then, I use Topshelf to host my console app as a service: var rc = HostFactory.Run(x => { x.Service<StartupService>(); x.RunAsLocalSystem() [...] read more
c#
c++
dll
dllimport
topshelf
0votes
0answers

How to force the deployment of P/Invoked C++ library together with the C# tests that I'm running with the VS Test Explorer?

I'm trying to make a unit test for a C# library, runnable through the standard Test Explorer UI in Visual Studio 2019. The exact framework, such as xUnit or NUnit, doesn't matter (although I would prefer to use one that is shipped with VS by default, to make it easier [...] read more
c#
c++
visual-studio
unit-testing
pinvoke
0votes
2answers

DllNotFoundException for libz3.dll when using Z3 via nuget

I use Z3 via NuGet package in my .NET Core 2.1 project and recently tried to update from version 4.5.0.1 to 4.8.1. Then I reverted back to 4.5.0.1 and got this exception at context creation: using(var ctx = new Microsoft.Z3.Context()) { } > System.DllNotFoundException: Unable to load DLL 'libz3.dll' or [...] read more
c#
.net-core
nuget
z3
0votes
0answers

Unable to load DLL 'activeds.dll'

I know this question was asked but nobody answer it. I'm building web API on Core 2.2 with JWT token bearer. In token request I added check if user exist on our LDAP. All working properly on IIS and console app but when I run with docker I'm getting: "Unable [...] read more
docker
asp.net-core
ldap
asp.net-core-2.2
0votes
1answer

ChakraCore.dll Exception when deployed to Azure Web App

I have an app which uses the Babel to transpile some dynamic JS into es5 compatible JS for use in IE browsers. This setup works perfectly locally however once deployed to Azure I keep getting the following exception when trying to call var babel = ReactEnvironment.Current.Babel; Exception triggered: React.TinyIoC.TinyIoCResolutionException: Unable [...] read more
c#
azure
babeljs
chakracore
0votes
1answer

asp.net mvc (use external dll of c++ Exception from HRESULT: 0x8007007E )

I write a asp.net mvc project, this project use external dll of c++ (ACTR_DLL.dll) this project run on my system successfully. But when get publish from visual studio, external dll of c++ dont exist in folders when i upload project on server, this error is shown: > Unable to load [...] read more
c++
asp.net
opencv
model-view-controller
dll
0votes
0answers

Unable to load DLL AutoHotkey.dll VB.NET

im still new, i try to make cool stuff using vb.net project but got problem Unable to load DLL 'AutoHotkey.dll > System.DllNotFoundException HResult=0x80131524 Message=Unable to load DLL 'AutoHotkey.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Source=WindowsApp2 StackTrace: at WindowsApp2.Form1.ahktextdll(String script, String options, String param) at WindowsApp2.Form1.Button1_Click(Object [...] read more
vb.net
autohotkey
0votes
1answer

Oracle Dll Load error: unable to run C# console applicatin on a different machine

I have developed a C# console application(.NET 4.5.2) on my Windows 8.1(64 bit machine). I used Visual Studio 2015(the only available option as we don't have licenses for newer) I need to access Oracle (11G) database for my application. My requirement is that my application should run on a clean [...] read more
c#
oracle
dll
0votes
1answer

Error whie connecting AS400 Unable to load DLL 'cwbdc.dll'

Trying to connect AS 400 server but getting following error DllNotFoundException: Unable to load DLL 'cwbdc.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E. connection string: <add name="As400" connectionString="Data Source=servername1.servername2.org;Password=myPassword;UserID=myId; pooling=false" /> public class ConnectionString { private static string DataString; /// <summary> /// constructor : sets connection [...] read more
.net
ibm-midrange
0votes
0answers

How do I add the MCSCM.dll dependency in a Visual Studio?

I have a visual basic project that uses some vendor dlls which in turn use the MCSCM.dll. The project produces a x86 binary with the code necessary to interact with the USB chip card programmer. When I run the compiled executable on my 64 bit Windows 10 machine, I get [...] read more
vb.net
visual-studio
0votes
1answer

GitVersion task in Cake Build script is missing library on Azure DevOps when run

When I run locally, GitVersion task works fine and runs. In Azure DevOps build pipeline, the same script fails. I get the following error: ======================================== Version ======================================== Executing task: Version INFO [04/03/19 20:23:54:54] Working directory: D:\a\1\s\PPIL INFO [04/03/19 20:23:54:56] IsDynamicGitRepository: False ERROR [04/03/19 20:23:54:60] An unexpected error occurred: System.TypeInitializationException: The [...] read more
azure-devops
cakebuild
gitversion
0votes
0answers

Referencing and Using .Net Framework DLL in .Net Core 2.1 Console App (Web API)

I'm trying to reference a .Net 4.6.1 compiled DLL (MCData.dll) for use in a .Net Core 2.1 console app (WebApi) but keep getting the following error as soon as I try to access the DLL : System.TypeInitializationException HResult=0x80131534 Message=The type initializer for 'MCData.MCDataSettings' threw an exception. Source=MCData.v6.11.0.0 StackTrace: at MCData.MCDataSettings.set_AppDirectory(String [...] read more
c#
dll
.net-core
0votes
0answers

.Net Core Docker Unable to load DLL 'activeds.dll'

I have an ASP.Net Core application that runs fine on IISExpress. I am completely new to Docker, so when I add Docker support to the project and run it chokes on this section: DirectoryEntry processEntry = new DirectoryEntry("LDAP://MyLdap", user, password); processEntry.Options.Referral = ReferralChasingOption.Subordinate; DirectorySearcher searcher = new DirectorySearcher(processEntry); With the [...] read more
c#
docker
asp.net-core
.net-core
0votes
0answers

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 [...] read more
vb.net
sybase
0votes
1answer

UserControl related problem with Form designer as i call methods from a Class C#

1- I have added a SQLite connection string in app.config, and when i call it, an error appears in the form designer (Object reference not set to an instance of an object)Designer error image 2- I tried to get the connection string by index number, a different error appears in [...] read more
c#
sqlite
system.data.sqlite
0votes
2answers

C# error: Unable to load DLL 'AutoItX3.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

DLL is available inside 'References'. I can able to run the test using 'Test Explorer' successfully Problem:Same test when im running from mstest commands- im getting the following error, error: Unable to load DLL 'AutoItX3.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) Where i'm wrong ? [...] read more
c#
selenium-webdriver
dll
autoit
0votes
0answers

Adding nuget package to Visual Studio Extension

I am creating a Visual Studio extension that makes use of the LIbGit2Sharp nuget package. The problem that I am having is that when I try to debug the extension at the moment the package is called I get the error message below. Exception The type initializer for 'LibGit2Sharp.Core.NativeMethods' threw [...] read more
visual-studio
visual-studio-extensions
0votes
1answer

Sysprep fatal error Could not load DLL DscCore.dll[gle=0x0000007e]

Azure VM, Win Server 2012 was created from snapshot of image copied from another region. Installed asp.net apps, all is working except sysprep, need to create a new image. setupact.log has: Error [0x0f0085] SYSPRP LaunchDll:Could not load DLL DscCore.dll[gle=0x0000007e] Error [0x0f0070] SYSPRP RunExternalDlls:An error occurred while running registry sysprep DLLs, [...] read more
azure
virtual-machine
windows-server-2012
sysprep
0votes
0answers

my .Net app gets load error for NuGet package HDF5DotNet.DLL x86 on Windows 10 virtualization by VirtualBox or VMware on ubuntu

My .NET windows forms app gets error (below) when it tries to call a function in the HDF5dotNet.DLL NuGet package. My app runs on Windows 10, which runs in a 64bit Oracle VirtualBox (ie. virtual machine) that was spun up by ubuntu linux on an actual physical machine. UPDATE: I [...] read more
c#
.net
nuget-package
hdf5
hdf5dotnet
0votes
0answers

How to get Sqlite database in .NET Core application to deploy onto Linux

I have a .NET Core application that I have created on Windows in Visual Studio. I've managed to deploy the application to Rasbian and Windows using publish in Visual Studio. However, I'm struggling to get the database to work. I'm quite inexperienced with databases. I chose sqlite in the hopes [...] read more
.net
linux
sqlite
core
0votes
1answer

'DJI.WindowsSDK.DJISDKManager' threw an exception

I recently downloaded the most recent DJI Windows SDK (2.0) in hopes to update my DLLs and be able to move forward with the new SDK. I can build the project but when I try to execute my app, it errors with the following: 'DJI.WindowsSDK.DJISDKManager' threw an exception. - Inner [...] read more
dji-sdk
0votes
0answers

Connect Firebird Database with Entity Framework model - Connection Failed

I want to connect the Firebird database with Entity Framework Model. Completed the successful installation and created the database. But, I am facing the issue 'Index was outside the bounds of the array' while connecting the database. Refer the below image.enter image description here [https://i.stack.imgur.com/6h6AA.png] * Visual Studio 2015 * [...] read more
entity-framework
firebird
firebird-3.0
firebird-embedded
0votes
1answer

Google OR-Tools HRESULT: 0x8007007E on Windows Server 2012 R2

I created a windows service application that uses Google OR-Tools library for Net. I successfully tested it on local dev environent - Windows 10 (x64). However when I move that application to Windows Server 2012 R2, it throws following error: Knihovnu DLL Google.OrTools.runtime.win-x64.dll nelze načíst: Uvedený modul nebyl nalezen. (Výjimka [...] read more
c#
windows-server-2012-r2
or-tools
0votes
0answers

The type initializer for 'OpenCvSharp.NativeMethods' threw an exception

I have an ASP.NET MVC(C#) application with 3 projects. 1. Main web app 2. A Project which processes images 3. Test Project Both the test project and the main project have references to the second project and Emgu.CV and both call function are written in the second project. The function [...] read more
c#
asp.net-mvc
opencv
opencvsharp
0votes
0answers

DLL not found error after publishing in VS2015 — tidy.x64.dll

I have an issue I struggle with since days. I nearly tried everything i am able to try but had no success. Not to hide, I am not an C# expert but I use to learn. I use TidyHTML in a project to correct some corrupt html from an editor. [...] read more
c#
dll
visual-studio-2015
tidy
htmltidy
0votes
0answers

C# calling Fortran: 32-bit works, 64-bit unable to load fortran DLL

I'm pasting a small example code that calls Fortran from C# below. The larger problem on which this small reproducible example is based was previously published as 32-bit. More recently, I have need of getting the published code working in 64-bit, and that's when it was discovered that 64-bit is [...] read more
c#
intel-fortran
0votes
0answers

.Net project runtime with NuGet HDF5DotNet x86 can't find 'HDF5DotNet.dll' on VirtualBox Windows 10, but runs ok on Windows 10 laptop

My windows form .NET app with NuGet HDF5DotNetx86 works perfect on physical Windows 10 laptop but the exact same project gets this error on VitualBox Windows 10 running atop Ubuntu. Runs ok on physical Windows 10 laptop remotely running same project directory on VirtualBox Windows 10. Both laptops are updated [...] read more
c#
.net
windows
visual-studio
hdf5
-1votes
1answer

Failed to import DLL loaded by .NET Core 3.0

I have a .NET Core 3 project which uses a wrapper library that uses Mosquitto to talk with a MQTT Broker. The wrapper is defined as: public static class MosquittoWrapper { public const string MosquittoDll = "mosq"; [StructLayout(LayoutKind.Sequential)] public struct mosquitto_message { public int mid; public string topic; public byte[] [...] read more
c#
c
-1votes
1answer

Failure writing debug information: Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll'

I installed a VS2017, tried to develop a first app in VS2017. File > New Project > Visual Basic > Windows Desktop > Windows Forms App (.NET Framework) simply tried to run an app with only one label on form, but build error comes up, I clicked on "Yes" then [...] read more
vb.net
visual-studio-2017
-2votes
0answers

Unable to load DLL 'libmp3lame.32.dll':

After running Install-Package NAudio.Lame -Version 1.0.9I got error > "System.DllNotFoundException: 'Unable to load DLL 'libmp3lame.32.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' in Console Application in VS2019. Any ideas how to fix it? read more
c#
nuget

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0