IIS 7.5 saving configuration settings to web.config with IIS Manager

Posted by Caroline Beltran on Server Fault See other posts from Server Fault or by Caroline Beltran
Published on 2014-06-12T21:29:40Z Indexed on 2014/06/13 3:27 UTC
Read the original article Hit count: 593

Filed under:

I installed IIS 7.5 (Windows 7) on two different PCs, one PC saves configuration to applicationHost.config and the other to web.config! Screenshot:

Configuration location differences

As you can see, the PC on the left does not contain the settings (they are stored in applicationHost.config) and the PC to the right does in fact store the settings in web.config.

I have not and hope not to modify the configuration files by hand and would like to do it using IIS Manager only.

Does anyone know why this happens or if there is some setting to force configuration to the web.config file? Thank you.

Edit: I am adding a screenshot of the applicationHost.config file (PC on the left) demonstrating how the configuration is stored in it instead of inside the web.config file.

enter image description here

© Server Fault or respective owner

Related posts about iis7.5