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

218votes
43answers

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
24votes
8answers

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
22votes
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
4answers

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
13votes
9answers

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
6votes
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
6votes
9answers

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
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
6votes
1answer

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
5votes
6answers

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
5votes
5answers

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
5votes
4answers

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

I have a Xamarin Forms solution. I added sqlite-net-pcl as reference to all projects. It works fine on Android but crashes on Windows 8.1 and Windows Phone 8.1. I have an IOS project but I don't have OSX at the moment to try it. I use this in the Windows [...] read more
windows
sqlite
xamarin
xamarin.forms
sqlite-net
4votes
3answers

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

I have installed abcPDF 9.1.1.5 version on my local machine and everything works perfectly. but I deploy code to windows server 2008 R2 machine i get this error. any one guide me what could be the issue. I have already explored following articles and this is not working for me. [...] read more
c#
abcpdf9
4votes
5answers

C# importing C++ dll

I have a managed dll file which imports functions from a C++ dll to the managed environment. I'm using some of its functions in my program but the problem is, I get this error when I use it: Unable to load DLL 'Libraries\lib.dll': The specified module could not be found. [...] read more
c#
c++
function
dll
import
4votes
7answers

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
4votes
4answers

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
4votes
2answers

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
3votes
4answers

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
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
3votes
1answer

C++ dll in hololens

I am working creating a hololens application using a native code dll based on c ++. The problem comes when I add it in the unity project (plugins / WSA / x86). When generating the UWP solution in Visual Studio I get a failure of DllNotFound. From what I have [...] read more
c++
visual-studio
unity3d
uwp
hololens
3votes
2answers

(UserControl with SQLite) ---> Failed to create components 'UserControl1', System.DllNotFound Excpetion, Unable to Load Sqlite.interop.dll

I had a user control with Sqlite. After Compiled and Added to the Tool Box, by dragging it into a new Form,an Error Message as described Below: "Failed to Create Component 'UserControl1'. The Error Message follows 'System.DllNotFoundException: 'Unable to Load Dll 'Sqlite.Interop.dll' : The Specified Module could not be found. [...] read more
c#
sqlite
dll
interop
3votes
3answers

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
3votes
5answers

mscorsn.dll doesn't load when using ILMerge

I'm using the following command on cmd with Administrator priviliges: ILMerge.exe /wildcards /log:ILMerge.log /allowdup /targetplatform:"v4,C:\Windows\Microsoft.NET\Framework\v4.0.30319" /lib:"C:\SDK2016\SDK2016\Bin" /lib:"packages\Microsoft.CrmSdk.Extensions.7.1.0.1\lib\net45" /lib:"packages\log4net.2.0.5\lib\net45-full" /keyfile:"Tools\Snk\XXX.snk" /out:"c:\XXXALLMERGED.dll" "c:\proj\alldlls\*.dll" And I'm getting the following error at the end of the log file: An exception occurred during merging: Unable to load DLL 'mscorsn.dll': The specified module could not be [...] read more
.net
ilmerge
snk
3votes
1answer

Why does using SQLite in Azure Functions give me a DLLNotFoundException?

I'm trying to write a timer-triggered Azure Function that downloads a bunch of data and processes it into a SQLite database. I've written code that does this and runs fine on my own machine. But, the same code in Azure yields a DllNotFoundException, complaining that the system can't load "e_sqlite3." [...] read more
c#
sqlite
azure
azure-functions
3votes
3answers

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

Getting error when trying to generate PDF from HTML template. I have a different class library for generating PDF and I'm calling that from another controller. > System.DllNotFoundException: 'Unable to load DLL 'libwkhtmltox': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' read more
c#
api
asp.net-core
pdf-generation
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

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
4answers

Asp.net published web site: The specified module could not be found. Exception from HRESULT: 0x8007007E

I'm having a problem when browsing a published site on local iis7 (on windows 7). When browsing the asp.net site through VS2008 with F5 (dev iis) it works fine. When publishing it and browsing, I get a: > Server Error in '/MySite' Application. The specified module could not be found. [...] read more
asp.net
iis-7
publish
1vote
1answer

Unable to load DLL 'Msacm32.dll': The specified module could not be found

I would like to add to this issue. This was working previously when I was running our old DC Server running an older installation of Windows 2016 Server DC. Once we lost that DC, and then a hard drive failure took out the backup DC, along with the entire Web [...] read more
iis
windows-server-2016
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
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
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

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
1vote
2answers

Windows 10: sfc and dism cannot repair corruption

There are several posts along this line, but the fixes that answered other questions did not solve my problem. * Windows 10 Pro * Upgraded from W7 Pro, then did a "Reset", as I was having some problems with a screen saver and wanted to get a cleaner install without [...] read more
windows-10
dism
sfc
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
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
1answer

Unable to load DLL 'OraOps12.dll

I build and publish my project with oracle client 12.1.0 and deploy it to server which has 11.1.0 client but I got this error. How could I solve this? Please help me ? My Error - > Unable to load DLL 'OraOps12.dll The specified module could not be found. (Exception [...] read more
asp.net
oracle
oracleclient
1vote
1answer

MS Access cannot connect to SAP "Cannot load LibRfc32.dll" error - VBA - SAP

How to fix librfc32.dll cannot be loaded error when calling from Microsoft Access 365? I've tried the common troubleshooting steps found on the net as listed below and need help. Note: This is a 25 year old complex large application and I cannot upgrade to a newer version than SAP [...] read more
vba
ms-access
dll
sap-gui
saprfc
1vote
0answers

Failing Container orchestration on the Microsoft Service Fabric

i tried to containerize a simple Service Fabric Project into a Service Fabric Container Project. enter image description here [https://i.stack.imgur.com/DWZjq.png] I used the Create your first Service Fabric container application on Windows manual ( https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/service-fabric/service-fabric-get-started-containers.md ). So at the first step i defined my docker image from VotingData service. I [...] read more
c#
.net
azure
docker
azure-service-fabric
1vote
0answers

Calling Fortran DLL from C# with Open() call

I'm calling a Fortran DLL from C# code. All works fines for the code shown below and I well receive the correct return value at my C# side. However, as soon as I uncomment the line open(31, file='output.txt', status='new'), I get the following exception: > System.DllNotFoundException: 'Unable to load DLL [...] read more
c#
dll
fortran
1vote
1answer

How to call c++ function from windows form

My c++ function is given below, # define MyFunction _declspec(dllexport) extern "C" { MyFunction int AddNumbers(int a, int b) { return a + b; } MyFunction int SubtractNumbers(int a, int b) { return a - b; } } Calling c++ function from windows application is given below private void btnNumber_Click(object [...] read more
c#
c++
winforms
1vote
1answer

Brightness control over HDMI via DCC/CI?

I'm looking for a way to adjust the brightness of a display, which is connected via HDMI to a Dragonboard 410c with Windows IoT Core installed. I read that DCC/CI can control the brightness over HDMI, tested that already with an OpenSource tool called "Monitorian" on my Windows 10 machine, [...] read more
c#
uwp
win-universal-app
brightness
windows-iot-core-10
1vote
3answers

Unable to load DLL 'e_sqlite3' after Setup

I am getting this exception DllNotFoundException: Unable to load DLL 'e_sqlite3': The specified module could not be found. (Exception from HRESULT: 0x8007007E on this line: SQLiteConnection connection = new SQLiteConnection(App.databasePath) So, I have simple CRUD app with local database. Everything work on Debug and Even release build mode with AnyCPU, [...] read more
c#
wpf
sqlite
installation
1vote
2answers

CLEyeMulticam.dll no where on my system PS3 Eye C#

I am trying to use the PS3 Eye camera in C# and get the error "Unable to load DLL 'CLEyeMulticam.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)" when running the sample WinForms application. That DLL file is not located anywhere on my system. There is a [...] read more
c#
dll
camera
1vote
1answer

Or Tools Sat Example not working within C# forms app

I have been able to run an example version of the scheduling program from GitHub. However, as soon as I run it in Windows forms, I get the following error: > System.TypeInitializationException: 'The type initializer for 'Google.OrTools.Util.operations_research_utilPINVOKE' threw an exception.' DllNotFoundException: Unable to load DLL 'google-ortools-native': The specified module could [...] read more
c#
or-tools
1vote
0answers

Why is it actually impossible to load onnxruntime.dll?

Using the tutorial from the developers at Microsoft, I followed the tutorial created at https://docs.microsoft.com/en-us/dotnet/machine-learning/tutorials/object-detection-onnx . I made sure to install CUDA V10.1.243 and cuDNN 7.6.5 from Nvidia's site. Yet somehow, even after copying the entire contents of C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v10.1\bin to my project binary's directory at machinelearning-samples\samples\csharp\end-to-end-apps\ObjectDetection-Onnx\OnnxObjectDetectionApp\bin\Debug\netcoreapp3.0 [...] read more
c#
visual-studio
machine-learning
ml.net
ml.net-model-builder
1vote
0answers

Docker not allowing use of System.DirectoryServices.AccountManagement

My application keeps crashing // domain connection PrincipalContext LDAPDomain = new PrincipalContext(ContextType.Domain, LDAP_DOMAIN); // checking existance of user UserPrincipal user = UserPrincipal.FindByIdentity(LDAPDomain, username); The error message says DllNotFoundException: Unable to load DLL 'activeds.dll' or one of its dependencies: The specified module could not be found. (0x8007007E) The code works fine [...] read more
asp.net
docker
asp.net-core
1vote
0answers

Type Initializer exception being thrown when launching WPF application

I am pretty new to Windows desktop development, so please let me know if this is a repeat question. Our application is using WPF/Telerik UI, targeting DotNet Framework 4.7.2, & using EF Core 3.1.5. It runs perfectly in Visual studio and appears to publish without error (both by 1 click [...] read more
c#
wpf
entity-framework-core
1vote
1answer

UWP: Retrieving installed fonts causes exception

In my UWP app, I have been retrieving the installed fonts using try { var fonts = CanvasTextFormat.GetSystemFontFamilies(); return (fonts.Length>0) ? fonts.OrderBy(f => f).ToList() : new List<string>(); } catch (Exception) { return new List<string>(); } Worked fine, until it did no longer. Now, I am getting the exception {System.IO.FileNotFoundException: The [...] read more
uwp
win2d
1vote
1answer

How to fix “Internal Diagnostics Hub Exception” in VS 2015 - missing DiagnosticsHub.CpuSamplingAnalyzer.dll

I've just installed VS 2015 Community Edition on a new laptop w. Windows 10, and to begin with it worked fine, but then it started notifying me about > "Internal Diagnostics Hub Exception. See log for more details." ...every time I started the debugger. As suggested in How to fix [...] read more
visual-studio-2015
diagnostics-hub
1vote
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
1vote
0answers

Exection in Win2D UWP GetsharedDeice in Debug x64 mode

Hi I am getting Exection in Win2D GetsharedDeice in Debug x64 mode But in release mode its working fine CanvasDevice device = CanvasDevice.GetSharedDevice(); Exception: > System.IO.FileNotFoundException: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD) at Microsoft.Graphics.Canvas.CanvasDevice.GetSharedDevice() ... .. .. Can anyone help me to [...] read more
uwp
win2d
1vote
1answer

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
0votes
1answer

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

DISM incorrect parameter error

I am following this tutorial about capturing a Windows 10 IoT Enterprise image. After properly preparing a USB drive, I inserted it into my IoT device. Upon booting, I selected the correct USB drive and I'm currently in my administrative command prompt (X:\windows\system32\cmd.exe). The command dism /capture-image /imagefile:C:\IoTOS.wim /CaptureDir:C:\ /Name:"Windows [...] read more
windows-10
command-line
dism
iot
0votes
1answer

Windows Color System Calibration Loader (specified module could not be found 0x8007007E) - Windows Task Scheduler

Background: Windows Color System Calibration Loader is used to automatically load Windows color profiles for your display once Windows is loaded. I'm planning to disable this so I can get Nvidia control panel to allow me to properly use Nvidia desktop color settings. Reason for that is so I can [...] read more
windows
scheduled-tasks
color-profiles
nvidia
0votes
0answers

Windows 10 x86 on uefix64 system (via network) error at the end of the installtion

I created a TFTP boot server (Tiny PXE Server on Windows Server 2019). I create 3 different boot situation: Legacy mode, EFI 32, EFI 64 When using Legacy mode, I'm able to boot WinPEx32 or WinPEx64 to install Windows x86 or x64. When usgin EFI 32, I'm able to install [...] read more
windows
64-bit
uefi
windows-installation
windows-installer
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

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
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
1answer

Asp.net core 3.1 - InProcess on Azure app Service HTTP Error 500.31 - ANCM Failed to Find Native Dependencies

I have migrated my project to asp.net core 3.1 but when I deploy to azure web app its failing to start. Displaying an error > HTTP Error 500.31 - ANCM Failed to Find Native Dependencies Common solutions to this issue: The specified version of Microsoft.NetCore.App or Microsoft.AspNetCore.App was not found. [...] read more
azure
azure-web-app-service
asp.net-core-3.1
0votes
0answers

Need further help on my journey to get C# app + IronPython + Numpy Library working together

I put a question as an answer to this post : How to install numpy and scipy for Ironpython27? Old method doesn't work in order to centralize all thing related, but I get reminded it wasn't the good way to do it, and I needed to start a new "ask [...] read more
python
c#
numpy
dll
0votes
1answer

"sni.dll" not found while using System.Data.SqlClient using Azure C#

I'm trying to run a SELECT query from my sql server through an Azure Function App so I can later work on the data pulled from it. I'm fairly new to Azure so I might be missing something. My Runtime version is ~3. It's a C# HTTP Trigger Function. My [...] read more
c#
.net
azure
system.data.sqlclient
0votes
2answers

unable to load dll cvextern while using emgu cv for x86 platform

> Requirement: Load a C# DLL(which uses Emgu.CV.World.dll for image comparison) into python project and call function inside DLL with some parameters. I tried to export a DLL usig Emgu.CV.World.dll for image comparison. While compiling for "Any CPU" target, the DLL export was not working. After changed to x86 platform, [...] read more
c#
python
emgucv
dllexport
0votes
1answer

Emgu.CV can't load dll's

I have an ASP.NET application that uses Emgu.CV for image processing. All worked fine until today morning... Till then I am getting the error > {"Unable to load DLL 'opencv_core249': Das angegebene Modul wurde nicht gefunden. (Exception from HRESULT: 0x8007007E)"} That means something like "Couldn't find the specified module" when [...] read more
c#
asp.net
emgucv
0votes
2answers

EmguCV DLL Not Found Exception -Unable to find cvextern?

To start,this is not another blind Emgu CV DLL Issue among the ones asked in SO and around the web.I have researched this issue and cannot find a solution. I have updated the EmguCV version which i use in one of my projects to the latest version(3.4.3).Eveything works fine on [...] read more
c#
.net
opencv
emgucv
0votes
0answers

Unable to load DLL 'tensorflow' ML.Net & .Net Framework 4.6.2

I have a .Net Framework "4.6.2" web application and I have created ml model and want to use it in the web app, but when I try to load the model like this: ITransformer mlModel = mlContext.Model.Load(_modelPath, out var modelInputSchema); I get the following error: > DllNotFoundException: Unable to load [...] read more
c#
asp.net-mvc
ml.net
0votes
0answers

Attempting to use GMaps gives an SQLite.Interop.dll error

I am trying to add Gmaps to my dotnet framework application. I am following this tutorial, and yet I always get the following error: > Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) My code is as follows: MapControl.cs using GMap.NET.WindowsPresentation; namespace [...] read more
asp.net
gmap.net
0votes
1answer

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

I installed ZKtecoFingerprint SDK and I'm trying to run the demo of this SDK but I got this exception! System.DllNotFoundException: 'Unable to load DLL 'libzkfp.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' Exception References How can I use the Zketco demo application?? Code : private void [...] read more
c#
zkteco
0votes
0answers

LocalServers - SQL Server CE missing on clean server

LocalServers - new functionality - the on prem. development on the fully armored dev. machine works as expected. But when I xcopy the folder with MDrServer and MDrTurnkey folders to the clean server 2019 core (no GUI) and run AppCompleteGenericCore.exe under non-admin user the Kestrel starts but curl to the [...] read more
mdriven
0votes
1answer

Unable to load DLL 'onnxruntime' or one of its dependencies ML.NET

I get this onnx from Python but I received error in context.Transforms.ApplyOnnxModel() - "Unable to load DLL 'onnxruntime' or one of its dependencies: The specified module could not be found. (0x8007007E) where is a problem? What should I change? enter image description here [https://i.stack.imgur.com/e9y2N.png] error 'context.Transforms.ApplyOnnxModel(modelPath)' threw an exception of [...] read more
c#
ml.net
0votes
0answers

MapWindow TypeInitializationException, The specified module could not be found

Could someone help in regards to the error below? How should I determine the module missing or how to resolve the issue with the message below. Any hints for what should I look first at? enter image description here [https://i.stack.imgur.com/eAC29.png] System.TypeInitializationException: 'The type initializer for 'MW5.Api.Static.MapConfig' threw an exception.' FileNotFoundException: [...] read more
c#
c++
visual-studio
gis
0votes
1answer

PortSip SDK C#: DllNotFoundException in Docker container while locally\EC2 works well

I have a .NET core application that uses the library of PortSip. So far everything worked fine both locally in my Windows 10 laptop and in an EC2 AWS instance with Windows Server 2019 installed, and now I would like to make this work in a Docker container. So I [...] read more
docker
windows-server-container
portsip
0votes
1answer

C# Label printing with p-Touch Brother Error: System.IO.FileNotFoundException

I'm trying to write a program that changes and prints an existing label "label.lbx" from a p-Touch Brother printer. But my program stops at: bpac.Document doc = new bpac.Document(); The error message: **System.IO.FileNotFoundException:** "The COM class directory for the component with CLSID {B940C105-7F01-46FE-BF41-E040B9BDA83D} could not be retrieved due to the [...] read more
c#
system
0votes
1answer

Azure functions: Unable to load DLL 'sni.dll' or one of its dependencies: The specified module could not be found. (0x8007007E)

Trying to run this Azure Function in Azure portal but fails with above title error: using System; using System.IO; using System.Net; using System.Threading.Tasks; using Microsoft.AspNetCore.Mvc; using Microsoft.Azure.WebJobs; using Microsoft.AspNetCore.Http; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Primitives; using Newtonsoft.Json; using System.Data.SqlClient; public static string Run(HttpRequest req, ILogger log) { string name="dbconn"; string conStr = [...] read more
azure
.net-core
azure-sql-database
azure-functions
0votes
2answers

SSIS - Unable to load DLL 'clrcompression.dll': The specified module could not be found

I need to compress a data folder in SSIS. For that, I use a Script task which runs this script : public void Main() { // TODO: Add your code here try { string zipPath = (string)Dts.Variables["User::sFolderCompressed"].Value; string startPath = (string)Dts.Variables["User::sFolderSource"].Value; ZipFile.CreateFromDirectory(startPath, zipPath); } catch (Exception objException) { Dts.TaskResult = [...] read more
c#
variables
dll
ssis
0votes
1answer

Unable to load DLL 'SQLite.Inter The specified module could not be found

Error #1: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E). What is causing this problem? And how to fix this issue please let me know the details. We are trying to use the SQLite database in C# Application, to develop a C# [...] read more
c#
0votes
0answers

Missing module/dependency when a C++ DLL is called by .Netframework app (PCL & CGAL)

I created a code in c++ to do some calculations with PCL and CGAL. I now wanted to add a UI. To do this I plan on creating a UI in a C# .Netframework app which will then call my C++ DLL, by following this tutorial ( https://docs.microsoft.com/en-us/visualstudio/debugger/how-to-debug-managed-and-native-code?view=vs-2019 ). Most [...] read more
c#
c++
point-cloud-library
cgal
.net-framework-4.8
0votes
0answers

Generalizing azure-vm with sysprep.exe fails [0x0f0085 -Could not load DLL]

We have a couple of CI/CD pipelines in which we create images from Windows VMS (Server 2016 DC). These images are then used to deploy new vms in azure. Before creating the image, we run sysprep.exe in /quiet mode to generalize the machine. This has worked for a very long [...] read more
azure
virtual-machine
sysprep
0votes
0answers

vb net Unable to load DLL 'SQLite.Interop.dll

I am working on a Windows 7 64 bit computer with VS 2019 ver 16.7.5 and Net.Framwork ver 4.8.03761 I am getting this error System.DllNotFoundException: Unable to load DLL 'SQLite.Interop.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) at System.Data.SQLite.UnsafeNativeMethods.sqlite3_config_none(SQLiteConfigOpsEnum op) at System.Data.SQLite.SQLite3.StaticIsInitialized() at System.Data.SQLite.SQLiteLog.Initialize(String className) at [...] read more
vb.net
sqlite
0votes
0answers

Calling a C++ function from C# program

I run into an issue calling a c++ function from a c# program. It works fine until I add the line "pcl::io::savePCDFileASCII("test_pcd.pcd", cloud);". Then I get the error: Exception thrown: 'System.DllNotFoundException' in MIxed_Mode_Calling_App.exe An unhandled exception of type 'System.DllNotFoundException' occurred in MIxed_Mode_Calling_App.exe Unable to load DLL 'C:\Users\d\Box\Daniel\RE\Surface Project\PCL_Project\MixedMode\build\Debug\MixedMode.dll': The specified [...] read more
c#
c++
point-cloud-library
0votes
2answers

how install libvips NetVips in Azure cloud - Error:Unable to load DLL \ 'libvips-42.dll\ ' or one of its dependencies

I can run an azure function app with libvips library from localhost for this function app - manipulation for images output correctly. I setup my local environment by saving libvips win64 in a folder in my windows 10 PC, added libvips bin folder to environment PATH and in Visual studio [...] read more
azure
azure-function-app
vips
0votes
1answer

How do I run pythonnet (Keras.Net) in a Service Fabric Application?

TLDR: How do I run pythonnet in a Microsoft Service Fabric Application? I want to use Keras.Net to run Python-trained ML models in C#, but I have problems doing this in a Service Fabric application. I am running a Service Fabric Local Cluster on my host machine. I have also [...] read more
python
c#
keras
azure-service-fabric
python.net
0votes
0answers

Dot Net Core portable app running on Windows but not on Linux

I'm developing a dotnet core 3.1 console app using C# on windows which should generate a dll to be used on a Ubuntu machine. From a third-party I've got 3 DLLs (ext.dll, ext64.dll, extNet.dll) which are needed for communicating with another device in the same network. To program the app [...] read more
c#
.net-core
dll
0votes
0answers

ODBC32.dll not found exception while running the .Net core api with Docker container

I have installed and used Simba odbc drivers to connect to dat bricks from .Net core API . If I use IIS express I'm getting the response . But If I use the Docker container I'm getting the following exception. Can any one help me? System.DllNotFoundException: 'Unable to load DLL [...] read more
.net
docker
odbc
databricks
0votes
1answer

UWP App Crash at Class1 c1 = new Class1(); saying - The specified module could not be found. (Exception from HRESULT: 0x8007007E

I am trying to create a library of fftool so that the uwp app doesn't have to launch a process to run FFmpeg exe out of the environment and yet able to run all command of fftool. so, for that first, I created a static lib compiling fftool c code [...] read more
c++
c
uwp
windows-runtime
0votes
2answers

.NET Core Application and System.DirectoryServices in Docker container

I'm trying to put a .NET Core 3.1 application listing users in an AD group into a .NET Core Runtime Docker container. Accessing the AD is being done with the help of a DirectorySearcher from the System.DirectoryServices namespace. Out of the box, .NET Core doesn't support this namespace, but by [...] read more
docker
.net-core
directoryservices
0votes
0answers

How to use CLIPSNet

I am trying to integrate CLIPS with C#,I have tried adding a reference to CLIPSNet.dll in my project.But when I copy the CLIPSLib.dll to the bin folder and try to bulid the solution I get this error message, Unhandled exception. System.DllNotFoundException: Unable to load DLL 'CLIPSLib' or one of its [...] read more
c#
clips
0votes
0answers

unable to load dll 'sqlite.interop.dll' the specified module could not be found

I am creating a desktop application by using c# and sqlite. Now the problem is that when I publish and install that project on someone else's computer, I get this error. The application runs in the client's computer but the database does not load. I'm new to c # ,I [...] read more
c#
visual-studio
sqlite
system.data.sqlite
0votes
0answers

Windows core dll references are missing when compiling with MSVC 19.22.27905.0

I have an unmanaged library that i am loading from C# and i have recently recompiled it after cleaning some debug code. After i tried to run the C# code, however i got this error:System.DllNotFoundException: Unable to load DLL 'mylib.dll' or one of its dependencies: The specified module could not [...] read more
c#
c
dll
shared-libraries
0votes
0answers

How to succesfully use CLIPSNet

I am trying to integrate CLIPS with C#,I have tried adding a reference to CLIPSNet.dll in my project.But when I copy the CLIPSLib.dll to the bin folder and try to bulid the solution I get this error message, Unhandled exception. System.DllNotFoundException: Unable to load DLL 'CLIPSLib' or one of its [...] read more
c#
clips
0votes
2answers

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
1answer

OpenSsl adding refrence, getting error, after compiling source openssl in 64bit mode

I've compiled openssl source before in 32 bit and used it in my c++ project. But for reasons, I want to make my program 64 bit and get error when referencing my created dll when program start. My c++ program A.dll uses openssl library. Before used it in x86 without [...] read more
c++
openssl
dependencies
64-bit
dllnotfoundexception
0votes
1answer

Module could not be found (VSTS Build with Windows 10 SDK for Creators update )

We are creating appxbundle on VSTS for UWP apps. The builds are successful, however at runtime we are getting exception while accessing the following method: public static Task<DeviceManagementClient> CreateAsync(IDeviceTwin deviceTwin, IDeviceManagementRequestHandler hostAppHandler); Exception: The specified module could not be found. (Exception from HRESULT: 0x8007007E) at System.StubHelpers.StubHelpers.GetWinRTFactoryObject(IntPtr pCPCMD) at SystemConfiguratorProxyClient.SCProxyClient..ctor() at [...] read more
uwp
windows-10-universal
windows-iot-core-10
dragonboard
0votes
1answer

How to Install Azure Service Fabric SDK on Windows Docker Container?

We have asp.net core application running inside a Docker container hosted on Service Fabric cluster. We are getting below error while creating actor which is hosted in the same cluster from asp.net core application. Unable to load DLL 'FabricCommon.dll' or one of its dependencies: The specified module could not be [...] read more
azure-service-fabric
actor
docker-for-windows
service-fabric-stateful
service-fabric-actor
0votes
1answer

MSI cant load .dll Error: 0x8007007E wix installer

I am trying do this in custom action wix: string sqlConnectionString = @"Server=MyInstanceName;Trusted_Connection=True;MultipleActiveResultSets=true"; string script = "..."; Microsoft.Data.SqlClient.SqlConnection conn = new Microsoft.Data.SqlClient.SqlConnection(sqlConnectionString); Server server = new Server(new ServerConnection(conn)); server.ConnectionContext.ExecuteNonQuery(script); It work in console app but when I run msi it throw: > Failed to connect to server MyInstanceName. Could not [...] read more
wix
0votes
0answers

Create virtual smartcard with pin policy via ITpmVirtualSmartCardManager2 interface

Following the instruction of 3.3.4.1 CreateVirtualSmartCardWithPinPolicy (Opnum 5) I tried to create smartcard with method CreateVirtualSmartCardWithPinPolicy via interface ITpmVirtualSmartCardManager2 and getting an error at TPMVSCMGR_ERROR_GENERATE_FILESYSTEM. Here is the callback statuses that i received: TPMVSCMGR_STATUS_VTPMSMARTCARD_INITIALIZING, TPMVSCMGR_STATUS_VTPMSMARTCARD_CREATING, TPMVSCMGR_STATUS_VGIDSSIMULATOR_INITIALIZING, TPMVSCMGR_STATUS_VGIDSSIMULATOR_CREATING, TPMVSCMGR_STATUS_VREADER_INITIALIZING, TPMVSCMGR_STATUS_VREADER_CREATING, TPMVSCMGR_STATUS_GENERATE_WAITING, TPMVSCMGR_ERROR_GENERATE_FILESYSTEM => error from here. Exception: System.IO.FileNotFoundException: The specified module [...] read more
c#
filesystems
com-interop
smartcard
tpm
0votes
0answers

"Unable to load DLL" when C#(UWP) call native c++ dll which calls another dll

I have a UWP c# app which calls a native C++ DLL named DLL2.dll and DLL2.dll calls another native C++ DLL named DLL1.dll. I put these two dll into a folder named library and the UWP project included this folder, selecting "copy always" in "Copy to output directory" and "content" [...] read more
c#
c++
dll
uwp
0votes
2answers

C# Oracle Connection without Client // missing dll

I'm trying to connect with Visual Studio 2019 and C# to Oracle without OracleClient. I downloaded the ODAC xcopy 32 bit and copied to the debug folder. After that, I referenced the Oracle.DataAccess.dll. When I tried to run the Application at another PC, I got following error: > System.DllNotFoundException: DLL [...] read more
c#
oracle
dll
visual-studio-2019
odac
0votes
0answers

How to fix 0x8007007E error with windows biometric service

I am developing Windows biometric Driver using using windows biometric framework. My driver is successfully installed,But when i checked in Event viewer i found below error: "Windows biometric Service failed to configure a biometric unit for sensor : (My Device info) "The operation failed with error : 0x8007007E" If someone [...] read more
c++
windows-10
biometrics
umdf
0votes
1answer

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
1answer

ImageMagick on Azure Functions cannot load native library

I'm trying to use Magick.NET library to do image processing on Azure Functions. I have tried the same code in a Console App (.NET Core 3.1) which works without any issues. However when running the same code in an Azure Functions Project, I get the following error. Code: var image [...] read more
azure
imagemagick
azure-functions
azure-functions-core-tools
magicknet
0votes
0answers

Quickbook deskop how to access from network system

Hi i am creating a EXE that will access Quickbook database network folder and read data. For he same i am using QBXMLRP2Lib; XmlDocument inputXMLDoc = new XmlDocument(); inputXMLDoc.AppendChild(inputXMLDoc.CreateXmlDeclaration("1.0", "utf-8", null)); inputXMLDoc.AppendChild(inputXMLDoc.CreateProcessingInstruction("qbxml", "version=\"13.0\"")); XmlElement qbXML = inputXMLDoc.CreateElement("QBXML"); inputXMLDoc.AppendChild(qbXML); XmlElement qbXMLMsgsRq = inputXMLDoc.CreateElement("QBXMLMsgsRq"); qbXML.AppendChild(qbXMLMsgsRq); qbXMLMsgsRq.SetAttribute("onError", "stopOnError"); XmlElement custAddRq = inputXMLDoc.CreateElement("SalesOrderQueryRq"); qbXMLMsgsRq.AppendChild(custAddRq); [...] read more
c#
windows-forms-designer
quickbooks
quickbook-desktop
0votes
1answer

Use a C++ dll in c#

I want to use a C++ dll IN a c# code example (using the c++ dll): class Program { [DllImport(@"netcoreapp3.1\savedecrypter.dll", CallingConvention = CallingConvention.Cdecl)] public static extern string decryptSave(string o); static void Main(string[] args) { string ja = "dhsabdasji"; string show = decryptSave(ja); Console.WriteLine(show); Console.ReadLine(); } } **and this is the [...] read more
c#
c++
string
dll
call
0votes
1answer

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

I am getting error while debugging the Unit test cased in Visual Studio 2017 Professional edition. > Unable to load DLL 'Microsoft.WITDataStore32.dll':The specified module could not be found.(Exception from HRESULT:0x8007007E) The below Nuget reference is missing in the existing code: > package id="nuget-bot.Microsoft.TeamFoundation.WorkItemTracking.Client.DataStoreLoader" version="15.0.31101" targetFramework="net452" /> As a workaround, I [...] read more
c#
0votes
1answer

Microsoft.WITDataStore32.dll not found exception only in Class Library output type

Attempting to use Microsoft.TeamFoundationServer.ExtendedClient 15.112.1 https://www.nuget.org/packages/Microsoft.TeamFoundationServer.ExtendedClient/ Using Visual Studio 2017 This code in a console app works just fine: string tfsUrl = "{{tfsurl}}"; string project = "{{project}}"; TfsTeamProjectCollection tfs = new TfsTeamProjectCollection(TfsTeamProjectCollection.GetFullyQualifiedUriForName(tfsUrl)); ITestManagementService tms = tfs.GetService<ITestManagementService>(); var proj = tms.GetTeamProject(project); This code in a TestMethod as part of a Unit [...] read more
c#
visual-studio
visual-studio-2017
0votes
0answers

SSAS Data Pump - IsapiModule could not be found

The data pump was previously running on an server with IIS and SQL Server running on the same server. It was working fine. We've been provided a new SQL named instance and we're trying to re-setup the data pump to point to the new server. New SQL server is also [...] read more
iis
ssas
isapi
datapump
0votes
0answers

System.TypeInitializationException: 'The type initializer for 'Emgu.CV.OCR.Tesseract' threw an exception.'

I am designing an app that utilizes Emgu.CV.OCR, in which a component know as the Tesseract is utilized. While the IDE does state that the code is correct and has no errors, there is a problem with it running with it resulting in this error. It states the reason for [...] read more
c#
opencv
emgucv
0votes
0answers

C++ dll works in C# console app however gives error in C# UWP app

I am getting following error when I try to use a function from DLL written in C++ in my C# UWP App. i can call same DLL in C# console application without any issues. I am not experienced in working with dll/dependencies. Really appreciate your help. ERROR in C# UWP [...] read more
c#
c++
dll
uwp
dependencies
0votes
0answers

System.DllNotFoundException: 'Unable to load DLL 'xyz.dll'

I cannot resolve this runtime error: System.DllNotFoundException: 'Unable to load DLL 'xyz.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' I'm writing a simple library together with a console application which shows an example usage. Solution structure: MySolution --> MyLibProject --> MyConsoleProject Where: 1. MyLibProject uses external [...] read more
c#
visual-studio
dll
runtime-error
0votes
1answer

Azure Recovery Services agent on Server Core 2016

I'm attempting to install the Azure Recovery Services Agent on a 2016 Standard Server Core machine. It installs fine, but when I try to browse to the vault credential file, I get an exception that appears to be related to visual themes not existing since it's server core:enter image description [...] read more
windows
azure
backup
windows-server-2016
0votes
0answers

C# Unable to load DLL 'SDL2'

I've been searching the internet all over for 2 hours trying to fix this issue but every time I try to execute the code, it will start then about a second later it crashes with this error. > Unable to load DLL 'SDL2': The specified module could not be found. [...] read more
c#
sdl
0votes
0answers

System.DllNotFoundException: can't load sfml.graphics

I've downloaded sfml from NuGet to develop with it in C#. I'm using the 2019 community version for C# and version 2.5 for sfml. With the code: using SFML.Graphics; using SFML.Window; namespace sfml_test { class Program { static void Main() { RenderWindow window = new RenderWindow(new VideoMode(200, 200), "test"); CircleShape [...] read more
c#
dependencies
sfml
0votes
1answer

LibGit2Sharp.Core.NativeMethods exception upon Cloning repository on UiPath Studio

LibGit2Sharp.Core.NativeMethods exception [https://i.stack.imgur.com/1zTDR.png] This error still appears after trying to get the repository from gitlab and to: 1. deleting UiPath folder on these paths * C:\ProgramData * C:\ProgramFiles * C:\ProgramFiles (x86) * C:\Users\%username%\AppData\Local 2. re-install the UiPath Studio Pro - Community ver 2020.4.1 As of the moment I use git-bash [...] read more
git
gitlab
uipath
uipath-studio
uipath-api
0votes
1answer

dotnet core application deployed on local service fabric throws Microsoft speech services exception

I have a dotnet core 2.2 application that consumes Microsoft cognitive speech services version 1.8.0. The application is deployed on a single node local service fabric cluster. I have added the service fabric support using visual studio 2019Right click on root project -> Add -> Container Orchestrator Support -> Service [...] read more
.net-core
azure-service-fabric
azure-cognitive-services
azure-speech
0votes
0answers

converting old asp code to asp.net webform

Hi i have this dll from an old project that the dll is uses to login but uppon adding the DLL on reference it give's me a reference "AppUser.dll" can't be added, Please make sure that the file is accessible and that it is a valid assembly or COM component. [...] read more
c#
asp.net
.net
asp-classic
0votes
0answers

How to force the deployment of P/Invoked C++ library together with the C# tests on 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
0answers

SQL Server connection on Azure sni.dll missing

I have created a console application using Visual studio .net framework 2017 to connect to a SQL Server and it works fine. I have then created an Azure function directly on Azure portal (I did not create on .NET and deployed to Azure). After creating the Azure function on the [...] read more
sql-server
azure
-1votes
0answers

fftw dll not found in published build

I'm using ArgusMagnus FFTW.NET wrapper to access the fftw library, having downloaded the package using NuGet. It works just great in my debug sessions, and now I want to publish it using the ClickOnce from Visual Studio, as I normally do. This seemingly publishes as normal, but none of my [...] read more
c#
.net
fftw
-5votes
1answer

How to create a C++ or C++/CLI wrapper for a static lib to use in C#

I only have a lib file and its header file (static library?) I want to use this in C#. From googling I have come to the conclusion I need to write a wrapper dll that C# will be able to use. I have tried writing this both in C++ and [...] read more
c#
c++
c++-cli

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