Invalid entries in IIS Express appHost.config; must correct before opening project

I’m having issues creating a new web project using Visual Studio Developer Community version. I have tried all possible solutions such as renaming my host file, closing and opening Visual Studio, and cloning the project from Git, but nothing has worked. I am getting the following error message:

Configuring IIS Express failed
Can not read configuration file

Can someone help me out?

Try the following solution:

  1. Open Visual Studio and go to Tools > Options > Projects and Solutions > Web Projects.
  2. Check the option “Use the 64 bit version of IIS Express for web sites and projects”.
  3. Save the settings and try creating a new web project again.

This should resolve the issue.