There was an error with the App. Config file and the configuration system failed to initialize. Problem Solving Solutions

Source: Internet
Author: User

If the configuration file contains a configsections element, the configsections element must be the first child element of the configuration element. After placing the appsettings in configsections, it is normal.

The elements in the configsections must correspond to the following custom configuration section one by one.

For example, there are 4 custom configuration sections below, but there are only 3 in configsections, and an error occurs: The configuration system failed to initialize.

<configSections>
<section name= "A_f63_structure" type= "A_f63_structurehandler,pkgbuilder"/>
<section name= "A_f10_structure" type= "A_f10_structurehandler,pkgbuilder"/>
<section name= "A_f11_structure" type= "A_f11_structurehandler,pkgbuilder"/>
</configSections>

<C_F10_Structure>

</C_F10_Structure>

<A_F63_Structure>

</A_F63_Structure>

<A_F10_Structure>

</A_F10_Structure>

<A_F11_Structure>

</A_F11_Structure>

From: http://www.cnblogs.com/edong/archive/2010/08/05/1793301.html

There was an error with the App. Config file and the configuration system failed to initialize. Problem Solving Solutions

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.