Should IIS Express be installed automatically or should I install it separately?

I installed VS 2012 Professional Edition.

I installed my web application to use IIS Express:

<UseIISExpress>true</UseIISExpress> 

But he complains that "The IIS Express applicationHost.config file contains invalid entries and needs to be fixed before you can use it."

Should IIS Express be installed separately or automatically when installing VS 2012?

How to resolve this?

+4
source share
1 answer
The man I pulled my hair with was doing this. It started after installing update 2, but only for web projects. I repaired, uninstalled, reinstalled VS2013, but I still have the same problems.

Finishing renaming the file C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Config \ web.config to web.config1 as a backup, and I was able to download my project. Try renaming / deleting this file.

edit: it loaded the project, but when you try to debug or build, you get an error message. The copy of C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ Config \ web.config from my working PC to this one has ended. Works well now.

+1
source

Source: https://habr.com/ru/post/1498345/


All Articles