Thursday, March 17, 2011

Frustrating error #267: "Only one <configSections> element allowed per config file and if present must be the first child of the root <configuration> element."

I recently experienced this issue and struggled to find a solution. After reading through the many blogs and forums a Google search returned, I was fortunate enough to read the linked post which made the answer built into the error obvious. Move the <configSections> block to the top of the blocks inside of <configuration>. Just re-sharing the knowledge so the answer is more broadly known and findable.

No comments:

Post a Comment

Mocking GCP APIs containing iterator structs

New company & language, who dis? The astute amongst my readers may have noticed that I left Lightbend to go work with some friends who ...