IIS Express Has Exited with Code 4294967295
Wednesday, March 18, 2026
This happens out of a sudden. It's been working great for a while and suddenly I can't debug the web application, which is still using .NET Framework 4.8. The error message is:
The program '[19000] iisexpress.exe' has exited with code 4294967295
Visual studio will launch the browser but before the browser loads, the application exited.
Thanks to the following article, I manage to fix it.
But I follow a slightly different steps:
- I uncheck the option
Stop debugger when browser window is closed, close browser when debugging stops. - Close the browser instances.
- Launch my application. At this point, iisexpress will not exit for no reason.
- Stop debugging.
- Check the option
Stop debugger when browser window is closed, close browser when debugging stopssince this option was initially checked.