Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

system.webserver section in machine.config

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

like image 819
ulu Avatar asked Jun 02 '09 14:06

ulu


People also ask

What is system webServer in Web config?

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.

Where is the machine level Web config?

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.

What is Web config and machine config?

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.

Where is the IIS Web config file located?

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.


1 Answers

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.

like image 98
jwmiller5 Avatar answered Oct 06 '22 11:10

jwmiller5