C# Microsoft.Practices.EnterpriseLibrary.Logging error
<p>I am getting an error when i tried to used Microsoft.Practices.EnterpriseLibrary.Logging</p>

<p>The type initializer for 'Microsoft.Practices.EnterpriseLibrary.Logging.Logger' threw an exception.</p>

<pre><code>&lt;configSections&gt;
    &lt;section name="loggingConfiguration" type="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.LoggingSettings, Microsoft.Practices.EnterpriseLibrary.Logging, Version=4.0.0.0, Culture=neutral, PublicKeyToken=null" /&gt;
  &lt;/configSections&gt;
  &lt;loggingConfiguration name="Logging Application Block" tracingEnabled="true" defaultCategory="Tracing" logWarningsWhenNoCategoriesMatch="true"&gt;
    &lt;listeners&gt;
      &lt;add fileName="F:\Service\Service\log\Full\Service.log" rollSizeKB="1024" timeStampPattern="yyyy-MM-dd" rollFileExistsBehavior="Increment" rollInterval="None" formatter="Text Formatter" header="" footer="" listenerDataType="Microsoft.Practices.EnterpriseLibrary.Logging.Configuration.RollingFlatFileTraceListenerData, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null" traceOutputOptions="LogicalOperationStack" type="Microsoft.Practices.EnterpriseLibrary.Logging.TraceListeners.RollingFlatFileTraceListener, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null" name="AppLog" /&gt;
     &lt;/listeners&gt;
    &lt;formatters&gt;
      &lt;add template="{timestamp} : {message}" type="Microsoft.Practices.EnterpriseLibrary.Logging.Formatters.TextFormatter, Microsoft.Practices.EnterpriseLibrary.Logging, Version=3.1.0.0, Culture=neutral, PublicKeyToken=null" name="Text Formatter" /&gt;
    &lt;/formatters&gt;
    &lt;categorySources&gt;
      &lt;add switchValue="All" name="AppLog"&gt;
        &lt;listeners&gt;
          &lt;add name="AppLog" /&gt;
        &lt;/listeners&gt;
      &lt;/add&gt;
      &lt;add switchValue="Verbose" name="ExceptionHandling"&gt;
        &lt;listeners&gt;
          &lt;add name="Exception" /&gt;
        &lt;/listeners&gt;
      &lt;/add&gt;
      &lt;add switchValue="Information" name="Tracing"&gt;
        &lt;listeners&gt;
          &lt;add name="Trace" /&gt;
        &lt;/listeners&gt;
      &lt;/add&gt;
    &lt;/categorySources&gt;
    &lt;specialSources&gt;
      &lt;allEvents switchValue="All" name="All Events" /&gt;
      &lt;notProcessed switchValue="All" name="Unprocessed Category" /&gt;
      &lt;errors switchValue="Off" name="Logging Errors  Warnings" /&gt;
    &lt;/specialSources&gt;
  &lt;/loggingConfiguration&gt;
</code></pre>

<p>Any help will be appreciated</p>

<p>Thanks</p>

<p>k</p>
