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.