vb.net – Visual Studio 2022 error 0xc0000409 ntdll.dll
I wonder if that happened to anyone before:
I got Visual Studio 2022 last update installed in my PC, I write a program in Basic. Simple program, no DB, USB or internet connections, just a bit of math.
The program runs flawlessly within the Visual Studio IDE, all the “Release” and “x86” parameters properly adjusted at Publish, Solution Properties and Project Properties.
I do an installable installMyProgram.exe with Innosetup.
I install the program in the very same PC I’m using Visual Studio, installs with no issues.
Then I run the installed program, and it crashes not even showing the startup window.
In eventvwr I got the following message:
Faulting application name: myProgram.exe, version: 1.0.0.0, time stamp: 0x66470000
Faulting module name: ntdll.dll, version: 10.0.19041.4957, time stamp: 0x2df32e04
Exception code: 0xc0000409
Fault offset: 0x00088f30
Faulting process id: 0x3e34
Faulting application start time: 0x01db175992f3f073
Faulting application path: C:\Program Files (x86)\myProgram\myProgram.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: 8a83a9af-d9b7-4161-a53a-bd3f8ef2ac30
Faulting package full name:
Faulting package-relative application ID:
The interesting thing is that I was installing previously the myProgram.exe, and there were no issues. And now it comes up with this crash.
Anyone had a similar experience? Maybe Visual Studio is importing some module on its own and that produces the crash?
Mind you, this all happens in the same PC that when the program is run from the IDE (debugging) is running perfectly well.
In others PCs where I’ve installed the program, is doing the same crash with the same error message.
Advise welcome!
Repaired VS and Windows but all stayed same
Read more here: Source link
