Exception in Common.Logging.dll: Failed obtaining configuration for Common.Logging from configuration section 'common/logging'
<p>Before you wonder, I've read the 
<a href="https://stackoverflow.com/questions/11368267/failed-obtaining-configuration-for-common-logging-from-configuration-section-co">Similar Topic</a>
and tried renaming the 'Common.Logging.Log4Net' in factory adapter-Tag in app.config but this didn't help me. Also I tried commenting out the startup-Tag and runtime-Tag.</p>

<p>So I've downloaded the Common.Logging.LogNet1213.3.3.1 NuGet Package. Now in my project there are the packages</p>

<ul>
<li>Common.Logging.3.3.1</li>
<li>Common.Logging.Core.3.3.1</li>
<li>Common.LoggingLog4Net1213.3.3.1</li>
<li>log4net.2.0.5</li>
</ul>

<p>According to the <a href="http://netcommon.sourceforge.net/docs/2.1.0/reference/html/ch01.html#logging-adapters-log4net" rel="nofollow noreferrer">Documentation</a> I filled my app.config, which now looks like this:</p>

<pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;configuration&gt;
    &lt;startup&gt; 
        &lt;supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" /&gt;
    &lt;/startup&gt;
  &lt;runtime&gt;
    &lt;assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"&gt;
      &lt;dependentAssembly&gt;
        &lt;assemblyIdentity name="log4net" publicKeyToken="669e0ddf0bb1aa2a" culture="neutral" /&gt;
        &lt;bindingRedirect oldVersion="0.0.0.0-1.2.15.0" newVersion="1.2.15.0" /&gt;
      &lt;/dependentAssembly&gt;
    &lt;/assemblyBinding&gt;
  &lt;/runtime&gt;
  &lt;configSections&gt;

    &lt;sectionGroup name="common"&gt;
      &lt;section name="logging" type="Common.Logging.ConfigurationSectionHandler, Common.Logging" /&gt;
    &lt;/sectionGroup&gt;

    &lt;section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/&gt;

  &lt;/configSections&gt;

  &lt;common&gt;
    &lt;logging&gt;
      &lt;factoryAdapter type="Common.Logging.Log4Net.Log4NetLoggerFactoryAdapter, Common.Logging.Log4Net1213"&gt;
        &lt;arg key="configType" value="INLINE" /&gt;
      &lt;/factoryAdapter&gt;
    &lt;/logging&gt;
  &lt;/common&gt;

  &lt;log4net&gt;

    &lt;appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"&gt;
      &lt;layout type="log4net.Layout.PatternLayout"&gt;
        &lt;conversionPattern value="%date [%thread] %-5level %logger %ndc - %message%newline" /&gt;
      &lt;/layout&gt;
    &lt;/appender&gt;

    &lt;root&gt;
      &lt;level value="DEBUG" /&gt;
      &lt;appender-ref ref="ConsoleAppender" /&gt;
    &lt;/root&gt;

    &lt;logger name="MyApp.DataAccessLayer"&gt;
      &lt;level value="DEBUG" /&gt;
    &lt;/logger&gt;

  &lt;/log4net&gt;
&lt;/configuration&gt;
</code></pre>

<p>My C# Console App for trying Common.Logging looks like this:</p>

<pre><code>using Common.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CommonLogging
{
    class Program
    {
        static void Main(string[] args)
        {
            ILog log = LogManager.GetLogger&lt;Program&gt;();
            log.Debug("qwerty");
        }
    }
}
</code></pre>

<p>The exception appears in the initialisation line of ILog log and this is the message:</p>

<blockquote>
  <p>An unhandled exception of type 'Common.Logging.ConfigurationException' occurred in Common.Logging.dll</p>
  
  <p>Additional information: Failed obtaining configuration for Common.Logging from configuration section 'common/logging'.</p>
</blockquote>