We are performing upgrades to our application, including transitioning from Windows 7 to Windows 10 and from Visual Studio 2012 to Visual Studio 2017. Despite the high complexity of the solutions, the process has been going smoothly with the exception of one project.
The process dies and in the event log I can find this:
Faulting application name: MyProcess.exe, version: 1.0.0.0, time stamp: 0x5c418d86
Faulting module name: ucrtbase.dll, version: 10.0.10240.16384, time stamp: 0x559f3aa5
Exception code: 0xc0000409
Fault offset: 0x0007d84b
Faulting process id: 0xcdc
Faulting application start time: 0x01d4b19831ce98cd
Faulting application path: C:\PathToMyProcess\MyProcess.exe
Faulting module path: C:\Windows\SYSTEM32\ucrtbase.dll
Report Id: 3071cc19-1a57-4828-9721-275a2d3cf164
Faulting package full name:
Faulting package-relative application ID:
The issue is that the process crashes and in the event log, it is shown that it works on a computer with Visual Studio 2017 installed, but not on one without. I have tried installing various components, such as .NET desktop development, Desktop development with C++, Visual C++ MFC for x86 and x64 and Windows 10 SDK 10.0.17134, but to no avail.
Look the screenshot:
I have also attempted to install redistributable versions of various versions, but the problem persists. I am unsure of what is missing and what is not included by default in Windows and Microsoft Visual C++ Redistributable for Visual Studio 2017.
3 Answers
It is likely that the issue is related to a missing or incompatible version of the Universal C Runtime (UCRT) library, which is included in the Windows operating system and the Microsoft Visual C++ Redistributable for Visual Studio 2017. The ucrtbase.dll file is a part of the UCRT library.
It is possible that the application is not compatible with the version of the UCRT library included in the target operating system or the version of the redistributable package that you have installed.
You can try the following steps to resolve the issue:
- Make sure that the target operating system is fully updated and has the latest updates for the UCRT library.
- Verify that the correct version of the Microsoft Visual C++ Redistributable for Visual Studio 2017 is installed on the target computer.
- Check if the application’s dependencies are compatible with the version of the UCRT library.
- If the issue persist, you may need to contact the application developer or vendor for further assistance.
It’s worth to mention that the problem can also be related with the code, if the issue is not related to the above steps you may need to check the code, look for any missing dependencies or errors in the code.