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