views:

255

answers:

0

I am running into an issue with my web.config in the inetpub/wwwroot and my application web.config. I have a section name XLS in my application web.config and also a section named XLS in the inetpub/wwwroot web.config. The difference is in their types. I keep getting a section has already been declared if the types are different between the two. It was my understanding that the application web.config takes precedence over the in inetpub/wwwroot web.config. Can someone explain to me if this is a true or false statement? I know keys will override without issue, it just seems that when you start creating custom sections is when problems start to come up.