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