新建C# winform 项目,在app.config中添加了connectionStrings项,
运行时出现"配置系统未能初始化"的错误,


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

将connectionStrings放到configSections 后,则正常。

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-07-18
  • 2021-09-15
  • 2021-11-17
猜你喜欢
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-31
  • 2021-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案