title: asp.net configuration read subsection error
body: <p>In config file I had an email section with some values and custom configuration manager read it fine. Now I need to add a subsection to Email section and the following line gives an error:</p>
  
  <p>var configInstance = (ProgConfiguration)System.Configuration.ConfigurationManager.GetSection("Prog");</p>
  
  <p>The error message is: "The Configuration property 'EmailAccounts' may not be derived from ConfigurationSection." </p>
  
  <pre><code>&lt;Prog Debug="true"&gt;
  &lt;Email 
  FromEmail="me@me.com" 
  EmailSubject="Your content" 
  MailServerList="mymail_com"&gt;
  &lt;EmailAccounts
  StandardEmail="one@me.com"
  SupportEmail="two@me.com"/&gt;
  &lt;/Email&gt;
  &lt;/Prog&gt;
  </code></pre>
  
  <p>Any help please?</p>