Is “management” section not allowed in web.config?

Gymnasticslover

New Member
I'm trying to add users to IIS Manager via \[code\]web.config\[/code\], but whenever I add the following lines, the web site stops working and says \[code\]web.config\[/code\] is not valid.The web site works if I add those lines in \[code\]administration.config\[/code\], but I like to keep the scope small by sticking with \[code\]web.config\[/code\].\[code\]<system.webServer> <management> <authorization defaultProvider="ConfigurationAuthorizationProvider"> <authorizationRules> <scope path="/MyApp"> <add name="domain\user" /> </scope> </authorizationRules> </authorization> </management></system.webServer>\[/code\]
 
Back
Top