7
Избегайте наследования web.config в дочерних веб-приложениях с помощью inheritInChildApplications
Я пытаюсь добавить <location inheritInChildApplications="false"> в web.config моего родительского веб-приложения, но, похоже, он не работает. У моих родителей web.configесть: <configuration> <configSections> </configSections> // 10 or so custom config sections like log4net, hibernate, <connectionStrings> </connectionStrings> <appSettings> </appSettings> <system.diagnostics> </system.diagnostics> <system.web> <webParts> </webParts> <membership> </membership> <compilation> </compilation> </system.web> <location ..> <system.web> </system.web> …