Windows error 0xC0000142, -1073741502

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)true
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[1][2]
DescriptionThe default facility code.[1][2]
Error Code322 (0x0142)

Questions

35votes
8answers

Using Process.Start() to start a process as a different user from within a Windows Service

I'd like to periodically run an arbitrary .NET exe under a specified user account from a Windows Service. So far I've got my windows service running with logic to decide what the target process is, and when to run it. The target process is started in the following manner: 1. [...] read more
c#
.net
windows-services
process
service
22votes
7answers

Github/Cygwin error: cygheap base mismatch detected

Git has been giving me this error 0 [main] sh (47116) C:\Users\Marcus\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x11C7400/0x1297400. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent [...] read more
git
github
cygwin
19votes
4answers

Alternative to "Allow service to interact with desktop"?

I have a windows service (C#) installed on a server that launches every 10 minutes an executable file (C#) to process some images from one directory to another. No interaction is required with any user. Nevertheless, since the executable file as an output window, to make the service run I [...] read more
c#
windows-services
exe
17votes
2answers

Visual Studio 2015 C++ app requires api-ms-win-crt-runtime-l1-1-0.dll on client clients

I've built an application with Visual Studio 2015 Community edition. When some of my users try to run it it they receive the following error: > The program can't start because api-ms-win-crt-runtime-l1-1-0.dll is missing > from your computer. Try reinstalling the program to fix this problem. Clearly this is solved [...] read more
c++
windows
visual-studio
dll
14votes
1answer

WampServer Apache httpd.exe application was unable to start correctly (0xc0000142) after Windows 10 Creators Update (1703))

The Windows 10 Creators update seems to have hosed Apache's httpd service, which now errors when I first start the WampServer. The official form confirms this suspicion. WampServer version 3.0.6. However, none of the suggested solutions on the forum worked, as of the time of this post. Thus, I've opened [...] read more
apache
wamp
wampserver
13votes
3answers

does windows have a limitation when a process started by a scheduled task under one set of creds runs another program under a different set of Creds

So i have a simple example, where i have app A, which has some hard coded creds to user X , a local admin, and then it launches app B with those Credentials using a hardcoded absolute path. Both A and B and dotnet console applications, however they don't interact [...] read more
c#
powershell
scheduled-tasks
11votes
8answers

Starting a process with credentials from a Windows Service

I have a Windows service that runs as mydomain\userA. I want to be able to run arbitrary .exes from the service. Normally, I use Process.Start() and it works fine, but in some cases I want to run the executable as a different user (mydomain\userB). If I change the ProcessStartInfo I [...] read more
c#
.net
windows-services
9votes
3answers

Calling console application from Azure DevOps Release Pipeline

Trying to have a Azure DevOps Release pipeline that has a deployment agent installed on-prem run a console application as a specific user that has access to an on-prem database. This is the workflow Azure Release Pipeline calls-> Agent on-prem runs-> PS Script runs-> console exe I'm using the PowerShell [...] read more
powershell
azure-devops
console
azure-pipelines
azure-pipelines-release-pipeline
8votes
2answers

How to troubleshoot app failing to start with STATUS_DLL_INIT_FAILED (0xc0000142) after Windows 10 "Threshold 2" update (1511, build 15086)

We publish a Windows desktop application (built with Visual C++ 2013 with the v120_xp platform toolset) which worked fine on Windows 10, but we've started to receive reports from users who have installed the "Threshold 2" update that our app now fails to start, showing the following error message: > [...] read more
c++
windows
dll
windows-10-desktop
7votes
1answer

Debugging desktop heap exhaustion

I'm supporting a product at the moment which seems to be consuming a lot of desktop heap. The binaries are mostly .net, and are all running session 0 as non-interactive processes (they are all sub-processes of an installed windows service). So, to my knowledge, they shouldn't be consuming any Desktop [...] read more
heap
7votes
2answers

CreateProcessAsUser process exits with -1073741502

I have a service that is responsible for starting/monitoring an interactive process in user session once user logins and console session connects. Service is set to start automatically so its up and running before user login. All work fine on first login and i get the user process started/restarted correctly. [...] read more
c#
winapi
7votes
1answer

EXE crash when calling from ProcessBuilder in java

I am invoking some EXE's(7za.exe, pg_basebackup.exe, ...) from JAVA ProcessBuilder. It is working without any issues for 2 or 3 days (EXE will be called daily). After that EXE's are crashing continuously. > 7za.exe error: > Exit code :: -1.073.741.502 > > Windows Event log error: > Faulting application name: [...] read more
java
windows
exe
processbuilder
6votes
2answers

Error On Shutdown - cmd.exe Application Error 0xc0000142

I realize this question is quite common, but I can't seem to find a situation that matches exactly what my issue is, it happens at shutdown and with cmd.exe. So recently I've been getting this bug... I may be wrong, but, I believe it appeared after I tried to cache [...] read more
windows-7
windows
cmd.exe
shutdown
5votes
4answers

How to Start a Process Unelevated

My app runs as requestedExecutionLevel set to highestAvailable. How do I run a process unelevated? I tried the following but it didn't work: Process.Start(new ProcessStartInfo {FileName = "foo.exe", Verb = "open"}) I have tried the following trust levels to start my process using Win32 API but none of them work [...] read more
c#
.net
vb.net
elevation
process-elevation
5votes
5answers

GitHub git pull fatal error cygwin DLL

I am trying to perform a git pull command from my github cmd using the GitHub desktop client. For some reason my git pull no longer works, and it spits out the following errors: D:\AndroidStudioProjects\Tangle>git pull 1 [main] sh (6932) C:\Users\dbale\AppData\Local\GitHub\PortableGit_c7e0cbde92ba565cb218a521411d0e854079a28c\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - [...] read more
git
github
git-pull
5votes
1answer

The application was unable to start correctly 0xc0000142 CreateProcessWithLogonW

I have a block of of code if(!CreateProcessWithLogonW( szUserName, NULL, szPassword, LOGON_WITH_PROFILE, L"C:\\Windows\\System32\\cmd.exe", // file to execute NULL, NORMAL_PRIORITY_CLASS | CREATE_BREAKAWAY_FROM_JOB, // creation flags NULL, // pointer to new environment block NULL, // name of current directory &si, // pointer to STARTUPINFO structure &pi // receives information about new process [...] read more
c++
winapi
startup-error
4votes
4answers

How to run jigdo on Windows 10

I am used to using Jigdo to compile Debian CD/DVD images. Since moving from WIndows 7 to Windows 10, I get the following message when I try to run jigdo-lite.bat: Jigsaw Download "lite" Copyright (C) 2001-2005 | jigdo@ Richard Atterer | atterer.net 0 [main] sh 2712 sync_with_child: child 10236(0x170) died [...] read more
debian
windows-10
4votes
2answers

Why is Outlook crashing when using Office interop?

I am attempting to utilize Office interop with C#, but I'm having some difficulties. Executing a test like the one I included below seems to work insofar as it launches Outlook and seems to connect with it. The issue is that if I then try to open the Outlook window [...] read more
c#
outlook
office365
office-interop
4votes
2answers

Createprocess and 0xc0000142 error

i have the following test code: #define CMDLINE ".\\dummyFolder\\dummyProc.exe op1 op2 op3" int main(int argc, char **argv) { STARTUPINFO info; info.cb = sizeof(STARTUPINFO); info.lpReserved = NULL; info.cbReserved2 = 0; info.lpReserved2 = NULL; PROCESS_INFORMATION processInfo; SECURITY_ATTRIBUTES procAttr; procAttr.nLength = sizeof(SECURITY_ATTRIBUTES); procAttr.lpSecurityDescriptor = NULL; procAttr.bInheritHandle = false; SECURITY_ATTRIBUTES threadAttr; procAttr.nLength = sizeof(SECURITY_ATTRIBUTES); [...] read more
c++
windows
createprocess
4votes
2answers

process started from service with CreateProcessWithLogonW terminates right away

In a test framework process A has to start process B under different user credentials (say, _limited_user) using CreateProcessWithLogonW API. lpStartupInfo->lpDesktop is NULL, so process B is supposed to run in the same desktop and window station as process A. Everything works fine when process A is started manually (as [...] read more
windows
security
winapi
4votes
4answers

System.Diagnostics.Process.Start() cannot start process when called from Windows service

I am trying to start an external process from a .NET Windows service. In the past I have used the Process.Start() overload that takes the executable path and a command line string. This works. But now I would like to start the process and have it run in the context [...] read more
c#
.net
windows-services
3votes
2answers

The application was unable to start correctly 0xc0000142 error when I try to open xampp shell through control panel

Using the latest Xampp version with PHP 7 enter image description here [https://i.stack.imgur.com/e6ZBf.png] > [cmd.exe] > The application was unable to start correctly (0xc000142). Click OK to > close the application I get a message that the application cannot start when I click the shell button in XAMPP control panel. [...] read more
php
xampp
3votes
1answer

LoadUserProfile not actually loading profile?

This code, run from IIS under the app pool account, can run an executable like notepad.exe or some custom simple .NET app. I can even write to a file from the guest account/app. But accessing the registry (such as Registry.GetValue(@"HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Main", "Local Page", null);) from the app results in a [...] read more
c#
winapi
iis
com-interop
3votes
2answers

ASP.NET debug fails to start google chrome - error crome.exe 0xc0000142

When I try to start debugging my ASP.NET application with google chrome. Chrome failed with the code 0xc0000142. Debugging with other browsers works. I have set Chrome as my default browser, and has not observed any other problems. Only Visual Studio seems to have problems with my chrome browser. Any [...] read more
google-chrome
visual-studio-2015
3votes
1answer

Using a vb.net application running as SYSTEM, how do I start a detached process for each logged on user?

After weeks of research on this topic I've finally decided to start a thread of my own in hope there is someone out there with experience that can help. I've scoured the internet trying to understand the various coding examples out there, but I've come up short trying to put [...] read more
vb.net
service
system
interactive
createprocessasuser
3votes
1answer

Mingw runtime error

I'm a new user of MinGW, and I have already run into problems. When attempting to compile a very simple Hello world c++ program, I get an error. I type the command: g++ hello.cpp -o hello.exe and then I get the message dialog: Microsoft Visual C++ Runtime Library Runtime Error! [...] read more
c++
c
visual-c++
mingw
2votes
1answer

Event ID 1000 Application Error cmd.exe kernelbase.dll

I've come across a re-occuring error in the event logs of my Windows 2012 R2 Hyper-V server. The error event is shown below. > Error 16/12/2020 15:47:31 Application Error 1000 (100) Faulting > application name: CMD.exe, version: 6.3.9600.17415, time stamp:0x545042b1 > Faulting module name: KERNELBASE.dll, version: 6.3.9600.19678, time stamp: > [...] read more
windows-server-2012-r2
windows-event-log
windows-command-prompt
2votes
2answers

cmd.exe error windows 7 the application was unable to start correctly (0xc0000142). Click ok to close the application

when i try to open the cmd.exe. a box pops up with the message of cmd.exe error windows 7 the application was unable to start correctly (0xc0000142). Click ok to close the application. my pc was infected with surabaya virus and rootkit and removed it with Avast free anti virus [...] read more
windows-7
command-line
virus
cmd.exe
2votes
3answers

powershell task in task scheduler cannot start-process with another -Credential

We have a scheduled task that is a powershell script. The script performs a number of actions against SQL data-bases where the access is controlled via integrated security. Hence each of these actions must be performed by a process that is executing under the appropriate Windows AD credentials, and there [...] read more
windows-7
powershell
windows-task-scheduler
task-scheduler
credentials
2votes
1answer

The Application was unable to start correctly (0xc0000142)

System = Windows 7 64-bit Various programs, notably Regedit, won't start. Instead I get: The Application was unable to start correctly (0xc0000142). Strangly, at least to my thinking, I can launch them via Task Manager. I am also grappling with AVG errors or over-activity, e.g. reports of Broken digital Signature. [...] read more
windows-7
regedit
2votes
4answers

Git Bash cannot be initialized

enter image description here [https://i.stack.imgur.com/fIrkR.jpg] When i use git bash it says"Failed to fork child process: Resource temporarily unavailable.DLL rebasing may be required. See 'rebaseall --help'." How can I fix this problem? When I use tortoiseGit to stash I got some message like this > git.exe stash save -- "12" [...] read more
git
bash
dll
2votes
0answers

Process runs in Powershell Prompt but not as a scheduled task?

$taskTrigger1 = New-ScheduledTaskTrigger -Once -At 2:50PM $taskAction = New-ScheduledTaskAction ` -Execute "powershell.exe" ` -Argument "-ExecutionPolicy ByPass -File `"<path>\tiddlywikiIIS_schtask_rsync\backup.ps1`"" $taskName = "Backup Stuff" $description = "Rsync Backup Stuff" Register-ScheduledTask ` -TaskName $taskName ` -Action $taskAction ` -Trigger $taskTrigger1 ` -Description $description $taskPrinciple = New-ScheduledTaskPrincipal -UserId "Domain\someadmin" -RunLevel Highest $taskSettings = New-ScheduledTaskSettingsSet [...] read more
windows
powershell
windows-subsystem-for-linux
privileges
windows-task-scheduler
2votes
0answers

I want to use cin or cout after activating the buffer. What should I do

I am trying to use double beffering but I haven't made it yet please ignore it Can I take input after activating the first buffer? I get an error if I get input after activating the first buffer (0xc0000142) I want to use cout or cin after calling SetConsoleActiveScreenBuffer function. [...] read more
c++
console
2votes
1answer

Any ideas on how to fix a Dll Initialization Error in Visual Studio 2019?

New to coding and while I was working on c++ console application, all of a sudden I was unable to open the application for debugging. It simply pops up and says "The application was unable to start correctly (0xc0000142)." No error/warning codes on visual studio either. Spent the last hour [...] read more
c++
dll
console-application
visual-studio-2019
2votes
2answers

CSC compiler error in Sitecore application

We have an issue where the editors in Sitecore experience trouble with change language in the Content Editor. This happens because a compiled dll was not found. Exception: System.IO.FileNotFoundException Message: Could not find file 'C:\WINDOWS\TEMP\gwp5mkkl.dll'. Source: mscorlib at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 [...] read more
c#
.net
sitecore
csc
2votes
2answers

cmder error when open new bash tab

0 [main] bash (1884) E:\cmder\vendor\git-for-windows\bin\..\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1416408/0x14C6408. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but the most recent version. The most recent version *should* reside [...] read more
git
git-bash
cmder
2votes
1answer

External makefile in Atmel Studio won't build. Windows error 0xc0000142

I downloaded bitcloud, the atmel zigbee stack and I am trying to compile one of the default applications, ZLLDemo. It is located currently at: C:\Users\Ryan\Desktop\BitCloud_MEGARF_3_1_0\Applications\ZLLDemo\atmelStudio_projects\ATmega256RFR2.cproj Everytime I try to compile the application I get a windows message screen for "mkdir.exe" error 0xc0000142. In the Output screen I see the line [...] read more
makefile
avr
2votes
3answers

Error when i open wamp server, the application was unable to start correctly (0xc0000142)

I recently opened Wamp server after a long time I didn't touch it. It was fine back then, but when I try to open Wamp server now, I get an error that says > The application was unable to start correctly (0xc0000142). In addition, the wamp icon is orange, while [...] read more
wamp
2votes
0answers

Compiled C# application 0xC0000142 error

I met a highly disturbing issue. I wrote a C# application in Visual Studio Community which uses a local .mdf database file. My computer's operating system is Windows 10 Home, 64 bit. My problem is that I cannot run the compiled EXE file on certain computers. Previously I used it [...] read more
c#
visual-studio
exe
2votes
0answers

0xC0000142 from Process.Execute with different credentials

Trying to run a process as a different user gave me: 0xC0000142. From an existing process running under a regular local account, why do this process receive 0xC0000142 when it try to start another process using Process.Execute with ProcessStartInfo having any other credentials (either a local account or a domain [...] read more
c#
process
credentials
account
2votes
1answer

SaferCreateLevel SAFER_LEVELID_UNTRUSTED: The application was unable to start correctly (0xc0000142)

i'm trying to launch a process (any process) as "untrusted" using the SaferCreateLevel with the SAFER_LEVELID_UNTRUSTED safer level: > Allows programs to execute with access only to resources granted to open > well-known groups, blocking access to Administrator and Power User privileges > and personally granted rights. Using the code [...] read more
security
winapi
uac
2votes
0answers

C# System.Diagnostics.Process launches on my local IIS, but doesn't launch on the server

I'm trying to make my program to run a bat file, that launches an exe file. It works fine on my local computer, but doesn't work on the server IIS. It doesn't work regardless of whether I specify the username and password in the ProcessStartInfo or not. I've searched forums [...] read more
c#
iis
system.diagnostics
2votes
0answers

How can I prevent my application from causing a 0xc0000142 error in csc.exe?

The application in question is written in C#. We are late in the development cycle, close to launch on our application. One of my coworkers is seeing the following issue: When he logs out of his Windows 7 session while the application is running, he gets a "csc.exe - Application [...] read more
c#
xmlserializer
csc
2votes
1answer

Failing to run C# process as different user

I'm trying to run djoin.exe tool with System.Diagnostics.Process from a C# service using a different user (not as the service user). The process returns code -1073741502. In the event log I can see: > Application popup: djoin.exe - Application Error : The application was unable > to start correctly (0xc0000142). [...] read more
c#
.net
impersonation
1vote
1answer

SQL Server 2016 - Server crash

I did a fresh installation of a SQL Server Standard 2016 on Microsoft Windows Server 2016. During the installation and manually starting the database engine service i get the following error: Windows could not start the SQL Server (MSSQLSERVER) service on Local Computer Error 1053: The service did not respond [...] read more
sql-server
windows-server-2016
sql-server-2016
1vote
1answer

How to troubleshoot Application Popup issues 0XC0000142 and 0XC000009a

I am running randomly into 1 of these popups when our application runs. The machines range from 8GB/8Core to 24GB/24Core and run Windows Server 2008 R2. The application is a bunch of perl scripts and exe's that are expected to utilitize the server well. The process tree can be quite [...] read more
windows-server-2008-r2
windows-event-log
1vote
1answer

Word: error 0xc0000142 on app launch

I've a regular license of Office and today, opening Word, I must first wait for an 'update' of office, than I see a blocking error. I already tried with both app restore options from advanced option in settings->apps->office->advanced without any results Also tried from old control panel->installed apps->office->change where I [...] read more
microsoft-word
microsoft-office
1vote
2answers

Problems while starting console programs on Windows 7 x64 (0xc0000142)

a customer of us has the problem that sometimes the error 0xc0000142 (Application failed to initialize properly) occurs while our software tries to execute a console program. Since the console program run properly if we start it manually, a virus, which infected the system files, can be excluded. Furthermore it [...] read more
windows-7
windows
1vote
0answers

How to resolve this cmd.exe exception?

I am trying to start a task from the task scheduler. The task will basically run a 'runas /savecred /user:abc job.bat' to start a process. However it has failed. I find this error message in event log and I think it can be relevant. Log Name: Application Source: Application Error [...] read more
cmd.exe
windows-server-2012
1vote
2answers

Can't assign a list of file names to a variable in GNU-make

First post here, not native english speaker, glad to post and help others! I'm having a problem using make to compile an avr-gcc project for me. More specifically in assigning a list of *.c source files of different directories, (subdirectories in my case), to a variable in make, where it [...] read more
c
makefile
dependency-management
avr
1vote
0answers

Azure Pipelines - tests fail with Exit code 0xc0000142

I use Azure DevOps pipelines for testing my C++ codes on several platform including windows. One of my pipelines fails for tests on windows : Test project D:/a/1/s/build/opengeodeio Start 1: test-obj 1/3 Test #1: test-obj .........................Exit code 0xc0000142 ***Exception: 0.14 sec Start 2: test-ply 2/3 Test #2: test-ply .........................Exit code [...] read more
c++
windows
azure-devops
azure-pipelines
1vote
0answers

Perl script for starting a process as another user not working properly

I have a Perl script which uses Win32::API and the command CreateProcessWithLogonW in order to start a process as another user. However, when I run this script from a browser, the following error message appears on the server screen: "The application failed to initiate properly (0xc0000142). Click on OK to [...] read more
windows
apache
perl
1vote
0answers

fatal error - cygheap base mismatch detected - 0x13A1410/0x13D1410

I was trying to install poppe using this command npm install popper --save but I got a bunch of errors like this error message: 3 [main] sh (28644) C:\Program Files\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected - 0x13A1410/0x13D1410. This problem is probably due to using incompatible versions of [...] read more
bootstrap-4
cygwin
mismatch
1vote
1answer

Desktop Bridge Application Launch & Localization Issues

I have a legacy win32 application which I tried converting using the DAC providing the .msi from the application installer and the application works as is post conversion. But I have few queries below. 1. I used the same Base Image as my OS version for the conversion. But the [...] read more
uwp
desktop-bridge
desktop-app-converter
1vote
1answer

MVC5 website gets corrupted evrey few hours, And need to get recycled to work

I have a website running on windows server 2012 R2 Its a MVC5 website already running for years for the past few month evrey few hours+ (sometimes could be few days - in a good case), some pages from website stops working and i get an error External component has [...] read more
vb.net
asp.net-mvc-5
iis-8
windows-server-2012-r2
1vote
0answers

Qt for android build failure (install_target error 129)

I'm tring to build the Qt Quick Demo - Calqlatr bundled with Qt for an android device w/ armeabi-v7 but i get a [install_target] Error 129 looking at the detailed output it shows [...] 14:48:09: The process "C:\Qtwdroid\Tools\mingw530_32\bin\mingw32-make.exe" exited normally. 14:48:09: Starting: "C:\Qtwdroid\Tools\mingw530_32\bin\mingw32-make.exe" "INSTALL_ROOT=C:/Qtwdroid/Examples/Qt-5.7/quick/demos/build-calqlatr-Android_for_armeabi_v7a_GCC_4_9_Qt_5_7_0-Release/android-build" install 0 [main] sh 2744 sync_with_child: [...] read more
android
c++
windows
qt
1vote
0answers

C# - Starting process under different user than the IIS application pool user

public static string StartProcess(string cmd, string args, string workingDirectory, string username, string password) { // launch system process ProcessStartInfo startInfo = new ProcessStartInfo(cmd, args); startInfo.WindowStyle = ProcessWindowStyle.Hidden; startInfo.RedirectStandardOutput = true; startInfo.RedirectStandardInput = true; startInfo.UseShellExecute = false; startInfo.CreateNoWindow = true; startInfo.UserName = username; startInfo.Password = ConvertStringToSecureString(password); // get working directory from [...] read more
c#
asp.net
iis
1vote
0answers

visual C++6.0 can not start(0xc0000142) after I update my OS to windows10 1607

before updating,It run well.When update completely,I found it can not start and I try to reinstall it,but also can not start.what's wrong? read more
visual-c++
1vote
1answer

How to recover xampp server database file?

My xampp server was destroyed by virus in my local host. I cannot start this xampp server again. I want to recover my database file. If I start my xampp server and click any files in it, the the following error appears: The application was unable to start correctly (0xc0000142).Click [...] read more
mysql
database
phpmyadmin
xampp
server
1vote
0answers

Unable to execute Powershell script via Jenkins

I wrote this powershell script to impersonate another user with DB access, execute a select query against, export the results into a CSV and also purges historic results from a specified folder. It works great when run manually. But I want to set it up as a Jenkins job so [...] read more
powershell
jenkins
automation
1vote
1answer

Executing msbuild process through code gets exit code -1073741502

My application is executing MsBuild.exe using Process.Start(); running as another user. The process is running as a service. When executing the process instantly fails and returns an error code -1073741502. * I am executing my code as a service. * No matter what user, or permissions I grant this occurs [...] read more
c#
msbuild
1vote
2answers

How to detect Windows Closing in Timer event code in VB.Net

I've been writing a program for the community, and have come up against a problem that I can't find the answer to. I have a VB.NET application, which has a timer event that fires every second to check if a task exists and if it's enabled, this runs some code [...] read more
vb.net
windows
timer
0votes
1answer

Application Error 0xc0000142 on Windows Server 2008 R2 after crash

Our server crashed a few days ago, cause was a HDD failure. The server seems to be almost fully functional (except that the Exchange DB is corrupt now, but that's another story) The main problem now is that Windows system applications like cmd.exe, sfc.exe etc. won't run because of error [...] read more
active-directory
windows-server-2008-r2
exchange-2010
0votes
1answer

Application Error. The application failed to initialize properly (0xC0000142)

We are constantly seeing this error message on our Windows Server 2003: > cmd.exe - Application Error > > The application failed to initialize properly (0xC0000142). Click on OK to > terminate the application. It appears when logged in as console. It appears every 5 minutes, and the error message [...] read more
windows-server-2003
windows-command-prompt
0votes
2answers

Windows 2003 Enterprise Server becomes unresponsive occasionally

We're experiencing issues with our Windows 2003 server, which runs SQL Server 2005 SP1. We notice that sometimes the entire server becomes unresponsive and I captured a screenshot of the task manager when this happened. I noticed that the processes are not displayed during this time and all of the [...] read more
windows-server-2003
sql-server-2005
0votes
1answer

Problem with creation of scheduled task from IIS6 on SR2003

I have also posted this question on stackoverflow, but will also try here, since it might be more system-related I am writing a webapplication using .NET. The webapp creates scheduled tasks using the System.Diagnostics.Process class, calling SCHTASKS.EXE with parameters. I have changed the identity on the app pool, to a [...] read more
windows-server-2003
iis-6
.net
scheduled-task
application-pools
0votes
2answers

Chrome fails to open links from external applications

Yesterday I encountered a problem regarding chrome. Whenever I click a link in an external application, obviously Windows tries to open it with the default browser. However, I am getting the following error after clicking the link with Chrome set to the default browser: > chrome.exe - Application Error: The [...] read more
windows
windows-10
google-chrome
browser
dll
0votes
0answers

Norton 360 may be blocking command prompt

on my 3 month old Windows 10 laptop, I kept seeing this error when using the Citrix client, and when I recently tried to launch the command prompt (as regular user and as admin), it shows the same error: > The application was unable to start correctly (0xc0000142). Click OK [...] read more
windows-10
command-line
norton-360
0votes
1answer

Windows Server 2016 Task scheduler: Tasks return error 0xC0000142

i have a strange problem with the task scheduler under Windows Server 2016. I create a task which triggered daily at 3am. This tasks only start a simple batch file which delete some files on a local drive. So nothing special. The result by running this task is 0xC0000142. No [...] read more
windows
scheduled-tasks
windows-task-scheduler
windows-server-2016
task-scheduler
0votes
1answer

How do I fix Cygwin crashes inside X2Go client?

I am trying to connect to an Ubuntu x2go server, but I get: screenshot of X2go failure [https://i.stack.imgur.com/Wwk4k.png] The message says: NXPROXY - Version 3.5.0 Copyright (C) 2001, 2010 NoMachine. See http://www.nomachine.com/ for more information. Info: Proxy running in client mode with pid '13864'. Session: Starting session at 'Tue Nov [...] read more
windows
cygwin
x2go
0votes
1answer

Why is AutoHotKey somehow causing a nightmare of error messages which attack me until I reboot the machine?

I have this in my test.ahk: #§:: SetTitleMatchMode, 1 WinActivate,Testwindow goes here return It's supposed to let me press WinKey + § (the key to the left of the "1" on my keyboard) to instantly bring up the window which begins with "Testwindow goes here" (there is only one) on [...] read more
windows
windows-10
autohotkey
0votes
0answers

"bash: fork: retry: Resource temporarily unavailable" error on Windows 10

When I open git bash I get these messages: 2 [main] bash (40164) C:\Program Files\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1301410/0x12A1410. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but [...] read more
windows-10
cygwin
dll
git-bash
0votes
1answer

Windows XP 0xc0000142 error

Before all of this, the machine worked just perfectly. Damn me, I decided to: * "msconfig" -> remove some useless applications from the automatic startup; * install the latest windows update * restart the machine When (re)started, I log on with the only user I have in the system. On [...] read more
windows-xp
windows-update
0votes
0answers

program runs in safe mode but not in normal mode for Win7 in a virtual box

I recently installed a program on Win7 (hosted on a virtual box that runs on a Linux machine). The program runs correctly in Windows safe mode (no network) but fails to start in normal mode (0xc0000142 error). The same program works fine on other machines on Win7. I've tried to [...] read more
windows-7
windows
virtualbox
compatibility
safe-mode
0votes
0answers

How to exploit dummy messages such as this

This is not a request to troubleshoot my system. Since a day or two, when I open a certain application, it does open, but after a few seconds I get the error dialog box below: enter image description here [https://i.stack.imgur.com/65tmd.png] After OK, a second dialog appears, this time with WerFault.exe [...] read more
windows-8.1
0votes
1answer

probleam 0xc0000142 how to solve

I use Windows 7 and I install pes 2016 now. I have a system error > "The application was unable to start correctly" enter image description here [https://i.stack.imgur.com/uuPcD.png] read more
windows-7
0votes
0answers

appying dos2unix on all files under folder

I am trying to appply dos2unix on all files. find $WORKSPACE/itrp-sr -type f -exec unix2dos.exe {} \; but is resulting in an error > 1 [main] find 3468 fork: child -1 - forked process 4524 died unexpectedly, > retry 0, exit code 0xC0000142, errno 11 find: cannot fork: Resource > [...] read more
shell
cygwin
windows-server-2012
0votes
1answer

I am running window 8.1 and I can't open any Microsoft office applications.

I am running window 8.1 and I can't open any Microsoft office applications. I keep getting a message that says the application was unable to start correctly 0xc0000142 read more
microsoft-office
0votes
1answer

Win XP won't boot, even to safe mode, due to lsass.exe?

UPDATED QUESTION I have an oldish and inherited ASUS A6000 laptop with an AMD Turion64 CPU that now 100% refuses to boot. Earlier today I managed to boot it a few times, including some successful reboots. When it was running, it seemed to run fine, but I discovered what looked [...] read more
windows-xp
boot
0votes
2answers

Windows error messages after some days of uptime

I'm having troubles with my laptop. I'm running Windows XP SP3 and after some days of uptime (the period seems to get shorter) error messages start to pop up especially when starting programs. Also letters in all programs start to disappear. Here are some of the messages I gathered when [...] read more
windows-xp
0votes
2answers

Windows XP crash with blue screen during following shutdown (rdbss.sys, STOP code D4)

Quite reliably, about every 1-2 days Windows XP (v. 5_1_2600 SP: 3) crashes. Network goes down, absolutely no applications can be started ("The application failed to initialize properly (0xc0000142).") and the only option is to reboot. During shutdown a blue screen comes up (referring to rdbss.sys and STOP code 0X000000D4). [...] read more
windows-xp
crash
bsod
0votes
0answers

Error "The application was unable to start correctly (0xc0000142)" from the command prompt but not from Visual Studio

I have a project that I build with CMake, which is composed of a library black.dll and an executable black.exe that depends on the DLL. The DLL in turn depends on libz3.dll which is an external dependency. When I build from the command prompt using CMake I cannot run the [...] read more
c++
windows
dll
cmake
0votes
0answers

0xC0000142 Errors from Tasks in Windows Task Scheduler

I previously had many C++ .exe programs (developed with C++ Builder XE7) running as scheduled tasks in a Windows 2008 R2 Datacenter server. These tasks were being run by the SYSTEM account and I never had any issues with them before. I recently imported these tasks to a new Windows [...] read more
c++builder
windows-task-scheduler
windows-server-2019
0votes
0answers

Execute bat file before Shutdown on Windows10 : Does not work

I am new on this platform, I hope I respect the global behaviour ! :) My Problem : On Windows 10, at every shutdown, I want to execute a bat file that shuts down linux machine threw ssh connection. I tried two scenarios : * Scenario 1 : Thanks to [...] read more
windows
ssh
scheduled-tasks
shutdown
group-policy
0votes
0answers

Dev-Cpp: Error message when compiling „mingw32-make.exe: *** [Test6_main.o] Error -1073741502”

I installed Dev-Cpp 5.11 with TDM-GCC 4.9.2 on my Windows 7 PC. Everything worked perfectly. My PC has been upgraded to Windows 10. Since then I keep getting an error message while compiling: A window with the title „g++.exe – Anwendungsfehler“ and the error message „Die Anwendung konnte nicht korrekt [...] read more
c++
gcc
makefile
dev-c++
0votes
0answers

Azure DevOps build c++ project using custom docker image from docker hub

My goal is to build a c++ project that I have on bitbucket using the Azure DevOps pipelines in a windows environment using the Microsoft Visual Studio c++ compiler. Since my project is a complex one with some dependencies, I figured that it should be built using a docker image. [...] read more
c++
azure
docker
dockerfile
docker-for-windows
0votes
0answers

The gdb is shows 0xc0000142 error, it is not running too, please help me out

I have recently installed gdb from Mysys2. However it isn't functioning properly. When I try to use gdb for debugging I am having this error as seen in the pic. I am not able to debug, and inputting is also not possible. Please help me out rectifying this problem. cmd [...] read more
debugging
gdb
tui
0votes
0answers

QWT library installation problem on Windows

I installed qt creator and mingw on Windows 10. Everthing is working but I have problem to compile qwt library (https://qwt.sourceforge.io/). Qt and compilator is installed on disk F:/Qt. Start->Qt->mingw console F:\qwt-6.1.5>qmake qwt.pro Info: creating stash file F:\qwt-6.1.5\.qmake.stash F:\qwt-6.1.5>mingw32-make cd src/ && ( test -e Makefile || F:/Qt/5.15.0/mingw81_64/bin/qmake.exe -o Makefile [...] read more
c++
qt
makefile
qmake
qwt
0votes
1answer

How can I fix Git bash not working on Windows

I uninstalled a few apps in control panel, then my git bash stopped working. I think its related but not sure what it might be that made it stop. When I run bash outside of vscode i get the following (screenshot) enter image description here [https://i.stack.imgur.com/hKkfa.png] The only apps I [...] read more
windows
bash
git
visual-studio-code
0votes
2answers

Calling any function from dll throws error

I'm making game engine in c++ which is compiled into dll. For last 2 weeks i was doing very boring cleaning of code to make it easier to use, unfortunantely didnt make any backup. Now when i put call to any function from that dll inside executable code it shows [...] read more
c++
windows
visual-c++
dll
0votes
0answers

How to call CreateProcessAsUser with SSPI

I am using SSPI to perform single sign-on which works. After successful single sign-on I get the user token as following: HANDLE tempHandle; if (!QuerySecurityContextToken(&tnS->hctxt, &tempHandle)) { MyDbg("SSO: Could not obtain token for user"); } if (!DuplicateTokenEx(tempHanle, MAXIMUM_ALLOWED, NULL, SecurityImpersonation, TokenPrimary, &tnS->htok)) { MyDbg("SSO: Could not duplicate token"); } But [...] read more
c++
windows
permissions
single-sign-on
sspi
0votes
1answer

Strange behaviour, when using powershell Start-Process on local computer with credentials

I have task in windows scheduler. It runs powershell script ScriptScheduler.ps1 under Domain\User1. This script run another one GenerateAndApplyACLforMultipleProjects.ps1 with credential Domain\User2. When i am run it interactively under Domain\User1, everything ok. But with schedule i am see process started and nothing happend. Transcribe file for second script not created. [...] read more
powershell
credentials
start-process
0votes
2answers

Not able to run powershell scripts from SQL Agent job

From past couple of days in one of our SQL servers syspolicy_purge_history jobs fails at third step executing a powershell script to clean Phantom Health records. The job is failing with the error: Application popup error - SQLPS.exe The application was unable to start correctly (0xc0000142). Click OK to close [...] read more
sql
sql-server
powershell
sql-server-2012
powershell-3.0
0votes
0answers

How do I open the solution in my github repository?

How do I open the solution in my github repository? Repository: https://github.com/tux-superman/VitekSky When I try to open it via visual studio 2019 I get the following error in my Visual Studio 2019: 11 [main] sh (12588) c:\program files (x86)\microsoft visual studio\2019\enterprise\common7\ide\commonextensions\microsoft\teamfoundation\team explorer\Git\usr\bin\sh.exe: *** fatal error - cygheap base mismatch detected [...] read more
c#
asp.net-core
github
asp.net-core-webapi
visual-studio-2019
0votes
0answers

Failed to start release app ported to the VS 2019

I'm porting an application from VS 2005 to VS 2019. I successfully ported the debug version but faced with issues during release one. First, when I launch my release app, I got an error "MSVCP80.dll not found". It's strange because debug version successful find the dll in the "C:\Windows\winsxs\x86_microsoft.vc80.debugcrt_1fc8b3b9a1e18e3b_8.0.50727.762_none_24c8a196583ff03b" Second, [...] read more
visual-c++
0votes
1answer

MFC application launch fails with "DLL Initialization Failed" after adding a new dialog

I am working on a legacy MFC application which is used to review result files. This is built as 64-bit code. My problem is that on adding Dialog to one of the project, the application fails to launch with error:[The program '[102276] APP.exe' has exited with code -1073741502 (0xc0000142) 'DLL [...] read more
c++
mfc
windows-7
0votes
0answers

"bash: fork: retry: Resource temporarily unavailable" error on Windows 10

When I open git bash I get these messages: 2 [main] bash (40164) C:\Program Files\Git\usr\bin\bash.exe: *** fatal error - cygheap base mismatch detected - 0x1301410/0x12A1410. This problem is probably due to using incompatible versions of the cygwin DLL. Search for cygwin1.dll using the Windows Start->Find/Search facility and delete all but [...] read more
windows-10
fork
git-bash
0votes
2answers

C# Excel not creating an instance when run outside of debug mode. (IIS instance)

Sorry for the poorly worded title. I have an application that will take in an excel file, make some changes, format the data as a dataset and export to excel in C#. when I run either in debug mode (F5) or with ctrl + F5 it has no problem running. [...] read more
c#
excel
dataset
0votes
1answer

Error 249 (Process killed (by mfunit)) when running a unit test in Microfocus Visual COBOL for Eclipse

I have a simple COBOL program (inside a Visual Cobol for Eclipse project), which calculates the maximum size of the binary gap and prints the result. Now I want to create a unit test and then modify the program so that the result is returned to the testing framework. There [...] read more
windows
eclipse
unit-testing
cobol
microfocus
0votes
0answers

Starting impersonated R.exe from .Net Core... Application error

I'm trying to run an impersonated R-Session from .net Core. Here is the code i'm running: info.WorkingDirectory = @"C:\r_installs\R-3.3.2\bin\x64"; info.FileName = @"C:\r_installs\R-3.3.2\bin\x64\R.exe"; info.Arguments = $"--vanilla"; info.RedirectStandardInput = true; info.RedirectStandardOutput = true; info.RedirectStandardError = true; info.UseShellExecute = false; info.CreateNoWindow = true; info.ErrorDialog = true; info.Domain = _Cred.Domain; info.UserName = _Cred.UserName; info.Password [...] read more
c#
.net
r
iis
.net-core
0votes
1answer

Error Code 0xc0000142 starting process from windows service

I have a situation occuring when launching Processes from a Windows service _________ | | * Process 1 | Service | -------> * Process ... |_________| * Process n The code used by the service to do so is the following: ProcessStartInfo startInfo = new ProcessStartInfo(executablePath, commandlineArgs); startInfo.WorkingDirectory = instancePath; [...] read more
.net
authentication
windows-services
credentials
windows-server-2012
0votes
0answers

hadoop-2.7.5 hbase1.2.6 spark flume cygwin

While starting hbase I'm getting the following error. sh start-hbase.sh : Name or service not knownstname 127.0.0.1 starting master, logging to /usr/local/hbase-1.2.6/bin/../logs/hbase-manou-master-asus.out starting regionserver, logging to /usr/local/hbase-1.2.6/bin/../logs/hbase-manou-1-regionserver-asus.out 1 [main] bash 6772 fork: child -1 - forked process 8656 died unexpectedly, retry 0, exit code 0xC0000142, errno 11 /usr/local/hbase-1.2.6/bin/hbase-config.sh: fork: retry: [...] read more
apache-spark
cygwin
bigdata
flume
0votes
1answer

Launching InstallShield executable as different user throws STATUS_DLL_INIT_FAILED

I have written a wrapper for a couple of installers to deploy and log the output of a software package. I'm encountering an issue when actually calling the executables and it's stumping me! In the last release we ran the installer and executables with the local system account without issue [...] read more
c#
0votes
1answer

Windows service fails with "application failed to launch correctly 0xc0000142"

I was trying to launch an application using a windows service written in c# , VS 2015. The problem is that the application has a 32 bit dll. My machine is a 64-bit one. When I try running the windows service, I get a prompt that says "application failed to [...] read more
c#
dll
visual-studio-2015
windows-services
0votes
1answer

Application fails to start (0xC0000142) when load-linking to DLL that uses empty DllMain

I have a simple Visual Studio 2017 solution set up with two projects. The first project is an executable that links (load-time linking) to a DLL generated from the second project. The second project is a simple test DLL that exports a single function, and contains an empty DllMain entry [...] read more
c++
dll
visual-studio-2017
0votes
0answers

SQL Server Local DB 2014 Fails to start when called from program with "Launcher" in the filename

The title of the post kind of says it all, but here is my procedure to replicate: 1. running this on 32 bit Windows 10 build 1607, not sure the windows build matters, but I think 32 bit does 2. Install SQL Server Local DB 2014 32 bit 3. Create [...] read more
.net
localdb
0votes
1answer

Building with new Qt 5.9 for Android failed

I've just installed Qt 5.9 - Android for armeabi-v7a (GCC 4.9, Qt 5.9.1 for Android armv7) Then I've downloaded and installed all the Android packages: Android packages [https://i.stack.imgur.com/xMQ01.png] Then I've created new Qt Quick application project in Qt Creator. But while building the project i get some strange error: 22:02:34: [...] read more
android
qt
android-ndk
qtquick2
android-sdk-tools
0votes
1answer

Haskel ghci.exe error (0xc0000142)

I tried all versions of haskell from their website and installed them on my windows 10 computer but when i run ghc.exe i get the following error shown in the image: I have tried several troubleshooting techniques but i cannot find the problem. Note that i have installed the files [...] read more
windows
haskell
0votes
1answer

Error using Git Push in RStudio

I'm using git in Rstudio to push code to a github repository. This worked fine until a few days ago, now I get the following error when I click the push button: > github --credentials get: github: command not found 0 [main] bash (7692) > C:\Users\M\AppData\Local\GitHub\PortableGit_f02737a78695063deace08e96d5042710d3e32db\usr\bin\bash.exe: > * fatal error [...] read more
git
rstudio
0votes
1answer

Cygwin ash.exe rebaseall gives fork error

Somehow this week my cygwin installation broke down, giving the following error when I try to start it: Error: Could not fork child process: Resource temporarily unavailable (-1). DLL Rebasing may be required see 'rebaseall / rebase --help'. So far so good, a google search easily points to many places [...] read more
cygwin
fork
0votes
1answer

c0000005 Access_Violation calling Process.Start when running app in remote powershell session

I have a scenario where I need to execute some code through a remote powershell session, the code internally calls Process.Start() passing in (using ProcessStartInfo). This seems to work, at least no error is returned from the call. But later the Exited event is raised on the process and the [...] read more
c#
powershell
debugging
remote-access
0votes
1answer

Unable to run SQL Powershell using Agent account

In a SQL server in my environment, couple of days after patch(Not immediately after), syspolicy purge job started failing at step 3 executing powershell. When I created a test job with a simple print statement that is not working as well. If i create a Proxy with my account and [...] read more
sql
sql-server
powershell
sql-server-2012
database-administration
0votes
0answers

When we run .exe manually, it works fine, but same .exe is not working in Windows's Task Scheduler?

I deployed .exe in windows 2008 R2 server, it is running fine when we run manually, but it is not running in Task Scheduler (TS), when we run in TS, task is completing with out any error, but in 'Last Run result' column it shows this '(0xC0000142)' instead of 'The [...] read more
c#
exe
windows-server-2008-r2
taskscheduler
0votes
1answer

Visual Studio - cannot run any projects: application was unable to start correctly (0xc0000142)

* Windows 10 x64 * Visual Studio 2012 x32 * .NET Framework 3.5 and 4.6 I cannot run/debug/F5 any projects in Visual Studio. I have tried nopCommerce, BlogEngineDotNet, File->New Website, etc. First I was getting an error about .NET 4.5 and .NET 4.0 not being registered, but I installed the [...] read more
c#
asp.net
.net
visual-studio-2012
windows-10-desktop
0votes
1answer

Failed to load user32.dll when launching a process running in non-default desktop in Session 0 Winsta0

I have a Windows service (running on Windows Vista+), which needs to launch a normal GUI application. For some reason, I need to run the GUI application on non-default desktop (of course, since it's launched by the service process, it runs in Session 0, WinSta0, but not on the Default [...] read more
windows
session
service
desktop
uxtheme
0votes
0answers

Executing a program before System Shutdown

I have a program I need to run before a system shutdown executes. This means, before any program gets terminated because of the shutdown, I need to execute said program, ideally via Process.Start(). Initially I tried executing said program in the Windows Shutdown Scripts, however that script is only executed [...] read more
c#
windows
shutdown
0votes
0answers

Launching CMD from windows service results in exception code 0xC0000142

We have a service application that launches CMD.exe with Stdin/Stdout/Stderr redirected to a named pipe. The Service is running as an administrator account (It is NOT running as LocalSystem). The development environment is Windows 8.1 Pro. When we launch CMD.exe using CreateProcessWithLogonW(), it starts and immediate ends with exit code [...] read more
windows
service
createprocess
createprocesswithlogonw
0votes
1answer

System() to start a process, but using CreateProcess fails?

So, curious problem, I'm trying to create a process, and then resume it, mostly exploring the Windows API. I've noticed that if I do this: system("C:\\Windows\\System32\\calc.exe"); It will open a calculator exe, however if I try to do the same thing using CreateProcessA, I get this: STARTUPINFO starting_info; PROCESS_INFORMATION process_info; [...] read more
c++
windows
process
0votes
1answer

Eclipse using MinGW make fails without msys

As background, I'm trying to build ChibiOS for STM32 on a Windows 8.1 host. This works perfectly well if I simply run make in the demo directory in the msys.bat command prompt. The toolchain and paths should thus be fine. Now, if I simply set up an Eclipse project, it [...] read more
eclipse
windows
mingw
0votes
1answer

PostgreSql crashed with error: 'server process (PID XXXX) was terminated by exception 0xC0000142'

I have Postgresql 9.2 running on a 4G memory, Atom N2800 CPU Windows POS READY embedded system(like the XP) machine, basically it running fine for years in production environment, but crashed(service stopped) frequently in recent performance(not stress) testing. I don't think the testing put too much stress, by enabled the [...] read more
database
postgresql
debugging
profiling
0votes
2answers

Application Fail to start correctly error

I'm developing an application using Wosa/XFS and the current problem is that it produce and error on startup saying "The application was unable to start correctly (0xc0000142). Click Ok to close the application." This is produced by Wfs_Startup call. BOOL Wfs_Startup(void) { WFSVERSION WfsVersion; return (WFSStartUp(RECOGNISED_VERSIONS, &WfsVersion) == WFS_SUCCESS); } [...] read more
c++
cen-xfs
0votes
0answers

SQL Agent After installation not able to start

SQL Server 2012 SQL Agent will not start after installation. Checked permissions, on surface configurations, all OK, have tried to run it as another account no Joy. The error i am receiving is the following : The request failed or the service did not respond in a timely fashion. Consult [...] read more
sql
sql-server
tsql
permissions
sql-agent
0votes
1answer

Autohotkey script - taskkill.exe error on Windows shutdown

I am using lot of portable application locally on my laptop and if i leave some of them opened when i shutdown Windows it doesn't close them properly and some applications don't save their settings. I am trying to use taskkill option in a autohotkey script which will be executed [...] read more
autohotkey
taskkill
0votes
0answers

C# - Process.Start as different user does not working

I try to start a process as a different user. I have an ASP .NET server and want to start a script (at first a simple echo "Hello World" batch file). If I do this: Process.Start(filepath); it works, so even this: Process proc = new Process(); ProcessStartInfo info = new [...] read more
c#
asp.net
process.start
0votes
0answers

OpenCV project gives 0xc0000142 error

I am trying to run a simple OpenCV project using this tutorial http://share-thevision.blogspot.ro/2013/02/opencveclipse-on-windows.html. I am using OpenCV 2.4.3, MinGW and Eclipse for C++. At build everything seems to be ok, however, when I try to run the project nothing happens from eclipse (I can't even get a "Hello world" to [...] read more
c++
eclipse
opencv
-1votes
0answers

0xC0000142 Errors from Tasks in Windows Task Scheduler

I previously had many C++ .exe programs (developed with C++ Builder XE7) running as scheduled tasks in a Windows 2008 R2 Datacenter server. These tasks were being run by the SYSTEM account and I never had any issues with them before. I recently imported these tasks to a new Windows [...] read more
windows-server-2008
windows-server-2019
task-scheduler
-1votes
1answer

Random Windows application crashes on Windows Server Hyper-V Core 2012

We're having some issues with our Hyper-V Core 2012 R2 installation on a HP DL360G8. We have an identical server with Hyper-V Core 2012 (not R2) that does not have these issues. When logging off from the physical server/via remote desktop, we sometimes get this error: Configure-SMRemoting.exe - Application Error [...] read more
windows
windows-server-2012
hyper-v-server-2012-r2
-1votes
1answer

Windows 10 Command Prompt Stuck in Legacy Mode and Won't Start

Recently checked the "Use legacy console" option for cmd trying to fix font problems I was having and now launching it causes a 0xc0000142 error and I can't change it back as it won't save the changed setting. read more
windows-10
cmd.exe
-1votes
1answer

WinAVR no rule for main.elf

I am trying to generate .hex file to be burned on micro-controller. I'm using WinAVR. With MFile I generated makefile for my ATmega8. Here is the makefile main.c Now when I try to make all from Programmer's Notepad it gives me error saying : > "make.exe" all 0 [main] sh [...] read more
c
makefile
avr-gcc
winavr
-1votes
1answer

Windows 2008 cscript.exe Application error 0xc0000142

After cscript.exe crashed, which ran fine for a few days then crashed at every and all instances, after that, Tidal agent (a batch jobs management s/w) started to crash. Need reboot to recover from the errors. Does anyone have any experience about this rarely used cscript.exe, and its behaviors, and [...] read more
heap
wsh
-2votes
1answer

Problems with running the application using OpenSSL

Good day, colleagues. I'm building an application using OpenSSL - the application crashes with an error code: 0xc0000142. The standard application openssl.exe also crashes with this error code. What could be the trouble? read more
c++
windows
openssl
mingw
mingw32

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