This stumped me for a while and I was not sure what I was doing wrong. Apparently it seems if you don't have the <configSections> element in your app config file as the first thing then you get a weird error saying "Only one <configSections> element allowed ...." (see example...