Try our conversational search powered by Generative AI!

configSource on all custom settings


In web.config, EPiServer reads several settings from the <episerver> section. Due to different OS setups, some developers may need another setup than others and a configSource attribute on this section (or subsections) may help a lot to distribute settings to local settings files not checked into the same project.

Also, the same problem comes into account when deploying to test, staging, production  environments.

I hope you can take this one into consideration.

Nov 06, 2008 9:36

As for all sections, this is also possible for the episerver section. To move the section, create a new configuration file and copy the whole episerver section to that file. Then remove the section in this file and add this line insted:

<episerver configSource="episerver.config" />

Nov 06, 2008 9:57
Ah! Great, Per. I will try this at once.
Nov 06, 2008 10:42

Works perfectly, but beware about upgrades, as the installer does not understand this (yet).


Nov 06, 2008 21:03

Thanks Steve.

Nov 07, 2008 11:44
This thread is locked and should be used for reference only.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.