Where does IIS7 saves its configuration for each virtual directory/ application and its physical path?
Is it an XML file? And if so, will editing this XML file affect the IIS configuration (after restarting)?
The location of the file is currently in the %windir%\system32\inetsrv\config directory.
Once it installed the IIS express configuration files will be available at “Documents\IISExpress\config” and IIS express execution files will be available at the installation directory.
Step 1: Open applicationHost.Click File, then Open, and in the File name: dialog box, type %windir%\system32\inetsrv\config\applicationHost. config and Click Open.
The machine. config file will automatically installed when you install Visual Studio.Net and it exist exists in the c:\windows\microsoft.net\framework\version\config folder whereas web. config will automatically created when you create an ASP.Net web application project.
It sounds like you're looking for applicationHost.config, which is located in C:\Windows\System32\inetsrv\config.
Yes, it's an XML file, and yes, editing the file by hand will affect the IIS config after a restart. You can think of IIS Manager as a GUI front-end for editing applicationHost.config and web.config.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With