App.config提示错误“配置系统未能初始化”

解决:

"如果配置文件中包含 configSections 元素,则 configSections 元素必须是 configuration 元素的第一个子元素。"

所以它前面如果有connectionStrings或其它节点,必须把connectionStrings放到它的后面。

posted on 2015-12-16 10:46  大西瓜3721  阅读(229)  评论(0编辑  收藏  举报

导航