The <runtime> element must be after the <configSections> element in your app.config file or you will get an exception when your app is loading.
This was noted by user 'akcoder' for .NET Framework Version 3.0. I have also encountered the same problem on Version 2.0.