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.

0 comments:

Post a Comment