title: NLog Configuration system failed to initialize
body: <p>I am new to Nlog, Put the Nlog Configuration in the app.config file below the configuration section, and define a section name inside the Config Section but still I get this error "Configuration system failed to initialize". The below is the contents of my app.config file.</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
  &lt;configSections&gt;
      &lt;sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" &gt;
          &lt;section name="nlog" type="NLog.Config.ConfigSectionHandler, NLog"/&gt;
      &lt;/sectionGroup&gt;
  &lt;/configSections&gt;
  &lt;startup&gt;&lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0,Profile=Client"/&gt;&lt;/startup&gt;
    &lt;nlog xmlns="http://www.nlog-project.org/schemas/NLog.xsd"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
      &lt;targets&gt;
        &lt;target name="console" xsi:type="Console"
  layout="${date:format=HH\:mm\:ss} ${level:uppercase=true} ${logger} &amp;#xD;&amp;#xA;${message} ${exception:format=message,type,stacktrace}"
                                                          /&gt;
      &lt;/targets&gt;
      &lt;rules&gt;
        &lt;logger name="*" minlevel="Debug" writeTo="console" /&gt;
      &lt;/rules&gt;
    &lt;/nlog&gt;
  &lt;/configuration&gt;
  </code></pre>
  
  <hr>
  
  <p>I moved the nlog outside of the sectionGroup since it is not a member of the applicatinSettings tag. Sorry my fault.
      
          
          
          
      </p>