I've installed Windows 2008 Web Server and enabled IIS. However, my machine.config file shows: section name = "system.webServer" type = "System.Configuration.IgnoreSection...
Does it mean that the system.webServer section is ignored? Why?
I tried to edit some web site's properties (e.g. directory browsing), and it works correctly. Is the machine.config definition changed somewhere else?
ulu
webServer> element specifies the root element for many of the site-level and application-level configuration settings for Internet Information Services (IIS) 7 in the ApplicationHost. config file, and contains configuration elements that define the settings used by the Web server engine and modules.
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. Machine.
The web. config files specify configuration settings for a particular web application, and are located in the application's root directory; the machine. config file specifies configuration settings for all of the websites on the web server, and is located in $WINDOWSDIR$\Microsoft.Net\Framework\Version\Config.
config files. The configuration files for IIS 7 and later are located in your %WinDir%\System32\Inetsrv\Config folder, and the primary configuration files are: ApplicationHost. config - This configuration file stores the settings for all your Web sites and applications.
The system.webserver config is now maintained at system32\inetsrv\config\applicationhost.config. Here's the whole new config setup for IIS7.
Generally, the applicationhost.config and machine.config are for the System Admins, while the web.config is for the developer.
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