Windows error 0xC06D007E, -1066598274

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode109 (0x06d)
NameFACILITY_VISUALCPP[2]
Error Code126 (0x007e)

Questions

13votes
2answers

Why is this process crashing as soon as it is launched?

We have an IIS WCF service that launches another process (app.exe) as a different user. I have complete control over both applications (and this is a dev environment for now). The IIS app pool runs as me, a domain user (DOMAIN\nirvin), who is also a local administrator on the box. [...] read more
c#
process
system.diagnostics
windows-server-2012
5votes
0answers

How to catch delay-import dll errors (missing dll or symbol) in MinGW(-w64)?

Using dlltool -y it is possible to create delay-import libraries for existing .dll or .def files. This seems to work just fine up to the point where the dll is needed on systems that do not have the corresponding dll (as expected for a delay-imported/loaded dll). However, I could not [...] read more
c++
c
mingw
mingw-w64
dlltool
5votes
2answers

Azure Web Role not starting after upgrade to .Net 4.5 & osFamily 3 (Window 2012)

I have MVC 3 Application that used to work fine on osFamily 1 (Win 2008 SP2) and .Net 4.0 and would like to upgrade to .Net 4.5 and Windows 2012. My project is upgraded to .Net 4.5 and it builds without any problems and runs in emulator with no problems. [...] read more
asp.net-mvc
azure
4votes
2answers

Delay Load DLL: "Exception 0xC06D007E: Module not found" when application started multiple times

I have a case of an intermittent crash in my application where we use Delay Load DLL. There are a few different call-stacks where we have seen the crash, but it always crashes when raising 0xC06D007E: Module not found in __delayLoadHelper2. The exception is raised when calling the process multiple [...] read more
c++
windows
exception
dll
delay-load
3votes
1answer

Microsoft Word crashes when invoking its COM inside Docker Container

I am building a document conversion service which needs to: * Support Office documents as input. * Be pixel accurate (i.e. Openoffice and friends are not an acceptable alternative). The service works well in the Windows host (it uses Office Interop from C#), but I would like to containerize it [...] read more
docker
com
ms-office
office-interop
windows-server-2016
3votes
0answers

Appcrash KERNELBASE.dll error when I try to use Microsoft Office in Docker Container

I’m building a Docker Windows container with Microsoft Office 2013 using following Dockerfile: FROM microsoft/windowsservercore ## Setup package management. ENV chocolateyUseWindowsCompression=false RUN powershell -Command "iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex; Install-PackageProvider -Name chocolatey -Force" ## Installing office RUN powershell choco install officeproplus2013 --version 15.0.4827 -y ENTRYPOINT powershell When I try to [...] read more
windows
powershell
docker
ms-office
windows-server-2016
2votes
1answer

user without password can be impersonated only if they are in admin group

The goal is to have a service create a process which has the security context of a user whose password is not known. I understand and accept the limitation that the new process will only be able to access local resources I think I am close to a solution. Everything [...] read more
windows
impersonation
createprocessasuser
2votes
3answers

Debugging Topshelf service that won't run under restrictive account

I have a Windows service written using Topshelf. I'm trying to configure it to run using a Windows account with restricted privileges rather than using LocalSystem. That's also necessary as I'd like to connect to a database using integrated authentication. The service works when run as LocalSystem (albeit with a [...] read more
debugging
windows-services
topshelf
2votes
1answer

Why can't I start more than X number of windows service developed in .Net on one machine

I have stumbled upon a situation where I cannot start more than a certain number of .Net windows services. Our software system is as set of 8-9 windows services and I want to create 5 logical environments on one machine (i.e about 40 services). To reproduce the problem and to [...] read more
.net
windows-services
1vote
3answers

Windows service fails to start up after certain number of instances

I develop a .Net WCF web service hosted as a windows service on Windows XP for development and Windows Server 2003 SP2 for deployment. We install several instances of the service (one for each logical environment) in one machine. After a certain number of instances the windows service fails to [...] read more
windows-server-2003
windows-service
1vote
2answers

C++ Plugin can't delay load a dll

I am bridging Nvidia Blast to Unity, and I am running into the following error when PhysX is trying to delay load PhysX3CommonDEBUG_x64.dll: Unhandled exception at 0x00007FFDD7743FB8 (KernelBase.dll) in Unity.exe: 0xC06D007E: Module not found (parameters: 0x00000000005FC5B0).` I am able to run this bridging program fine as a standalone console application [...] read more
c++
unity3d
visual-c++
1vote
0answers

All WPF x86 applications crash at startup

One of our customers has several 64-bit Windows 7 machines which are having trouble running our WPF applications. Unfortunately the framework is crashing in such a way that I've been unable to catch the error and get a stack trace, either via AppDomain.CurrentDomain.UnhandledException or via Dispatcher.UnhandledException. I've been able to [...] read more
c#
wpf
1vote
0answers

pypylon : Process finished with exit code -1066598274 (0xC06D007E)

Script used: from pypylon import pylon cam = pylon.InstantCamera(pylon.TlFactory.GetInstance().CreateFirstDevice()) cam.Open() print(cam.GetDeviceInfo) cam.Close() [enter image description here][1] print("done") OS: Windows 10 64 bit Camera: Basler acA640 Connected via USB 3.0 Error while running the above script: > Process finished with exit code -1066598274 (0xC06D007E) read more
python
python-3.x
1vote
1answer

exe started with CreateProcessAsUser randomly crashes on start

Here is the situation : I have a C# .NET Windows service (run as localsystem) that starts a satellite C# .NET executable (windowless WinForms) under the current logged in user account, using CreateProcessAsUser. Sometimes it works, sometimes... it doesn't. I can see the exe showing up in the tasks manager [...] read more
c#
.net
windows-services
createprocessasuser
0votes
0answers

Windows Explorer crash on right-click since last Update

Yesterday I installed the pending updates from a week ago or so. Since then Windows Explorer crashes when right-clicking any item. (The only item where it didn't crash on was on Computer.) The event log shows: Faulting application name: Explorer.EXE, version: 6.1.7601.17567, time stamp: 0x4d672ee4 Faulting module name: KERNELBASE.dll, version: [...] read more
windows-7
windows-explorer
windows-update
0votes
0answers

Office 2016 license missing - cloned volume licensed application

Scenario: Office 2016 Enterprise Plus (volume license version) is installed on a base image of Windows 10, then when cloned onto workstations, they report that Office is missing its license and needs to be repaired (repair fails. requires full uninstall, reinstall) Does anyone know why Office 2016 volume license edition [...] read more
windows-10
licensing
microsoft-office
0votes
3answers

Sql Server 2008 killed Sql server 2005

I have a windows server 2008 machine, which I had sql server 2005 running on happily, then I needed to install 2008 R2 for another job. I was hoping to run them side by side. I configured 2008 to run as SERVERNAME\SQLSERVER08 and 2005 is on SERVERNAME. However now I [...] read more
sql-server-2005
sql-server-2008-r2
0votes
1answer

conda pyinstaller builded exe not working in window server 2016, kernalbase.dll exception module not found from mkl_intel_threding.dll

conda pyinstaller builded exe in window server 2016 and not working another pc with window server 2016 (without conda). in in-time debugger showing The thread 0x43c8 has exited with code 0 (0x0). Unhandled exception at 0x00007FF88C8C4C48 (KernelBase.dll) in main.exe: 0xC06D007E: Module not found (parameters: 0x0000006A94AF6F90). Already copied all mkl_*.dll and [...] read more
pyinstaller
0votes
0answers

Documentation for kernelbase.dll Exception code 0xc06d007e

In my Event Viewer, I am getting an Unhandled Exception code 0xc06d007e for several .NET programs and I can't seem to find any documentation on this error. I found the WinAPI Error reference PDF but it doesn't list that error code. The faulting module is always listed as KernelBase.dll so [...] read more
debugging
winapi
event-viewer
0votes
1answer

Problems with Trainer class CNTK

I have installed cntk, version 2.6 and I am trying to run the following script: print("Before Trainer") trainer = C.Trainer(model, (cross_entroy, error), [sgd(model.parameters, lr=lr_per_minibatch)], [progress_printer]) print("After Trainer") The following script is printing only "Before Trainer" message and after that the code stops the execution. The code below the C.Trainer class [...] read more
python
cntk
0votes
0answers

In Windows 7, a process started with CreateProcessAsUser by a windows service with a local system account crashes

In Windows 7, a process started with CreateProcessAsUser by a windows service with a local system account crashes, but the same process started manually runs fine. The CreateProcessAsUser functionality is in a separate COM component [64 bit C++ dll], and the windows service [dot net 4.6.1] has platform target [Any [...] read more
com
windows-services
64-bit
createprocessasuser
0votes
1answer

Visual Studio 2017 KernelBase.dll Module not found exception

I am trying to build a 32-bit application on Windows 10 using Visual Studios 2017. The application builds and runs fine in 64-bit, but it does not run properly from a 32-bit build. Call Stack: KernelBase.dll!741b08b2() Unknown Non-user code. Cannot find or open the PDB file. [Frames below may be [...] read more
c++
visual-studio-2017
runtime-error
32-bit
runtimeexception
0votes
1answer

CreateProcessAsUser works, CreateProcessWithTokenW does not

We have a service that runs as LocalSystem. We use CreateProcessAsUser and LoadUserProfile to start a working app as a specific user. Works just great. But if we try to use CreateProcessWithTokenW to avoid explicitly loading and managing user profile, it fails, and the following is recorded in event log: [...] read more
winapi
createprocessasuser
0votes
0answers

Genymotion and Android Studio error

I am trying to launch Genymotion. I could launch it before from Android Studio. But Now I can't. I get this error: > The exception unknown software exceeption(0xc06d007e) occured in the > application at location 0*1fc1871c Also I can launch Genymotion from virtualbox diectly and it works fine. But not [...] read more
android-studio
genymotion
0votes
1answer

visual studio (vb.net) not able to load an access database

Here's my code Imports System.Data Imports System.Data.OleDb Public Class frmMain ' database connection string Const CONNECTION_STRING As String = "Provider=Microsoft.ACE.OLEDB.12.0; data source=business.accdb" ' database connectivity objects Dim dbConnection As OleDbConnection Dim dbAdapter As OleDbDataAdapter Dim dbDataSet As DataSet ' current record index Dim recordIndex As Integer = 0 Private Sub [...] read more
vb.net
ms-access
0votes
0answers

Redirect console from .Net application to C++ application launched by a service

I have a win32 application (call it wrapper) which, as part of its duties, launches another application (.net - call it child) and captures its output by redirecting the stdout of child to its own stdout. This works fine from the console. However, if wrapper is launched periodically by a [...] read more
c#
c++
.net
winapi
windows-services
0votes
1answer

delay load DLL error (module not found)

I am working on Visual Studio 2010 Express and I have a question concerning external DLLs. I am using a DLL. My question is: why do I get an error (0xC06D007E: Module not found) unless I put the .dll file in my project file. To be specific, I use FFTW [...] read more
c++
visual-studio-2010
dll
0votes
1answer

Missing External Function in IEFrame.DLL and SHLWAPI.DLL when referencing SharpSVN

Note: This section contains incorrect information - skip to the update below for details. This section left in for historical purposes. I have a WPF project in Visual Studio 2008 targeting .NET 3.5 that references SharpSVN. When I make a call into SvnClient.Export, I get an exception that Marshal.GetExceptionCode tells [...] read more
c#
visual-studio-2008
.net-3.5
dependency-management
sharpsvn
0votes
2answers

.net 3.5 simple win application error

I have a .net win app that seems to work for all our of test machines but the client is getting this error after installation. So the install seems to be working but the app running creates an issue. The exception unknown software exception (0xc06d007e) occured in the application at [...] read more
c#
.net-3.5
installation
-3votes
1answer

A process created with CreateProcessAsUserW from a 64 bit process exits immediately with exception code 0xc06d007e on Windows 7 64 bit

I have a C# Application, which is launched from a C++ DLL using CreateProcessAsUserW api. The process is launched successfully, but terminates immediately. It works properly on Windows 10 [both as 32 bit and 64 bit] and 32 bit on Windows 7. I found the following link, Why is this [...] read more
c++
winapi
windows-7-x64
createprocessasuser

Comments

Leave a comment

(plain text only)

Sources

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

User contributions licensed under CC BY-SA 3.0