Why is configSection supposed to be at the first element in app.config ?
I had a 'System.TypeInitializationException' in my WPF application,
Message: An unhandled exception of type 'System.TypeInitializationException' occurred in PresentationFramework.dll Additional information: The type initializer for 'System.Windows.Application' threw an exception.
and i followed this suggestion and the error was resolved.
As you've found out, and as specified in the documentation (since .net 1.1)
It's where you specify what configuration sections are going to be in your app.config, hence, it has to be at the start of the configuration element