Unrecognized Configuration Section "name"

If you get the error above, there could be a couple of reasons:

  • The XML setup in the configuration file is in error; maybe there isn't a closing tag or something syntacticly is missing.
  • If creating a custom configuration section, this could be that the entry in the <configSections> collection is missing; every custom configuration section must be registered in <configSections>.
  • The type provided is incorrect; maybe the type is in a different assembly than is stated, or the type name has a typo.

Some things to try out if you get this.

Comments

No Comments