I had a similar problem with Visual Studio 2022 and Net 4.7.2.
Unable to star program c:/Program Files/IIS Expres/iisexpress.exe The process has been terminated Refresh the process list attempting another attach
It turned out that the problem was not IIS Express, but by HotReload. Was enough to disable the "Enable Edit and Continue" option in my project settings.
Steps: Go to Project > Properties > Web and uncheck "Enable Edit and Continue."