Can anybody shed any light on the above error? I've tried with both Express and Ultimate editions of VS 2013.
I'm running 64-bit Windows 7.
Solutions to similar problems I've found tend to be targetting x86 rather than AnyCPU from the Solution explorer. However, I can't even build the solution to explore it.
The new project I'm trying to build is c# ASP.net MVC.
Removing Read Only property from IISExpress\Config files (applicationhost, aspnet, redirection) solved the problem for me.
I was facing the same issue. I was selecting the 'Empty' MVC project template and was getting the same error again and again.
I tried selecting the 'MVC' project template and got the same error to.
Doing a bit of googling showed that a messed up application host config file of IIS express can also cause the problem. I had only one site configured in IIS express and I tried to host that from command prompt. That's when it showed me the error in applicationHostConfig file of IIS express including line number where the error was. I was playing with the file in the past and added a site without specifying the name.
Fixing that problem solved the issue for me.
FOUND SOLUTION
Go to Control Panel -> Programs and Features -> Select your Visual Studio Version and hit "Change"
1) Click MODIFY and enable Web Developer Tools
2) Enable Web Developer Tools
3) Click Update
I corrected this error by repairing IIS express. You can as well reinstall IIS express.
worked for me.
I had the same issue and scavenged the internet for solutions, because I did not want to reinstall VS 2013, only to find my solution in someone else's problem (oh the irony).
I had this error because my applicationhost.config was blank. I figured this part out when I realised that the project was created, just not added to the solution. So, I tried adding the project manually and it claimed that there was an error in applicationhost.config file. I go to see it, and it was empty.
For whatever reason this happens, it stops the IISexpress.exe from working either.
So, I deleted the applicationhost.config file and tried adding the project to the solution, and voila, everything works like a charm.