For who has same issue on VS Professional 2019.
I Installed Xamarin bundle and after that this IIS error starts.
I have tried all solutions above without any luck.
What I did to fix it is :
From Visual Studio Installer check Development time IIS support from web & Cloud - ASP.NET and web development.