title: The type initializer for 'System.ServiceModel.Diagnostics.TraceUtility' threw an exception
body: <p>I have following configuration. When I try to start my application getting following error:</p>
  
  <p>The type initializer for 'System.ServiceModel.Diagnostics.TraceUtility' threw an exception</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8" ?&gt;
  &lt;configuration&gt;
      &lt;system.serviceModel&gt;
          &lt;bindings&gt;
              &lt;basicHttpBinding&gt;
                  &lt;binding name="BasicHttpBinding_InterFaceName" maxReceivedMessageSize="2147483647"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IEventSubscriptionCallback"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IFolders"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IBrowse"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IConfig"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IData"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IDataAccess"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IMetadata"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
                  &lt;binding name="BasicHttpBinding_IServiceControl"&gt;
                      &lt;security mode="TransportWithMessageCredential" /&gt;
                  &lt;/binding&gt;
              &lt;/basicHttpBinding&gt;
          &lt;/bindings&gt;
          &lt;client&gt;
              &lt;endpoint address="https://EndPointAddress/InterFaceName"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_InterFaceName"
                  contract="ClientNameBF.InterFaceName" name="BasicHttpBinding_InterFaceName" /&gt;
              &lt;endpoint address="https://EndPointAddress/IEventSubscriptionCallback"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IEventSubscriptionCallback"
                  contract="ClientNameBF.IEventSubscriptionCallback" name="BasicHttpBinding_IEventSubscriptionCallback" /&gt;
              &lt;endpoint address="https://EndPointAddress/IFolders"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IFolders"
                  contract="ClientNameBF.IFolders" name="BasicHttpBinding_IFolders" /&gt;
              &lt;endpoint address="https://EndPointAddress/IBrowse"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IBrowse"
                  contract="ClientNameBF.IBrowse" name="BasicHttpBinding_IBrowse" /&gt;
              &lt;endpoint address="https://EndPointAddress/IConfig"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IConfig"
                  contract="ClientNameBF.IConfig" name="BasicHttpBinding_IConfig" /&gt;
              &lt;endpoint address="https://EndPointAddress/IData"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IData"
                  contract="ClientNameBF.IData" name="BasicHttpBinding_IData" /&gt;
              &lt;endpoint address="https://EndPointAddress/IDataAccess"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IDataAccess"
                  contract="ClientNameBF.IDataAccess" name="BasicHttpBinding_IDataAccess" /&gt;
              &lt;endpoint address="https://EndPointAddress/IMetadata"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IMetadata"
                  contract="ClientNameBF.IMetadata" name="BasicHttpBinding_IMetadata" /&gt;
              &lt;endpoint address="https://EndPointAddress/IServiceControl"
                  binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_IServiceControl"
                  contract="ClientNameBF.IServiceControl" name="BasicHttpBinding_IServiceControl" /&gt;
          &lt;/client&gt;
      &lt;/system.serviceModel&gt;
    &lt;applicationSettings&gt;
      &lt;PKISettings&gt;
        &lt;setting name="CertThumbPrint" serializeAs="String"&gt;
          &lt;value&gt;Something&lt;/value&gt;
        &lt;/setting&gt;
      &lt;/PKISettings&gt;
      &lt;UserSettings&gt;
        &lt;setting name="User1" serializeAs="String"&gt;
          &lt;value&gt;Users&lt;/value&gt;
        &lt;/setting&gt;
        &lt;setting name="Pass1" serializeAs="String"&gt;
          &lt;value&gt;JT1yn4Y9SG&lt;/value&gt;
        &lt;/setting&gt;
        &lt;setting name="User2" serializeAs="String"&gt;
          &lt;value&gt;Smthings&lt;/value&gt;
        &lt;/setting&gt;
        &lt;setting name="Pass2" serializeAs="String"&gt;
          &lt;value&gt;sndkjhjsf&lt;/value&gt;
        &lt;/setting&gt;
        &lt;setting name="User3" serializeAs="String"&gt;
          &lt;value&gt;Usr&lt;/value&gt;
        &lt;/setting&gt;
        &lt;setting name="Pass3" serializeAs="String"&gt;
          &lt;value&gt;dgfg/ndfgdfg&lt;/value&gt;
        &lt;/setting&gt;
        &lt;setting name="User4" serializeAs="String"&gt;
          &lt;value&gt;dfgfgdgf&lt;/value&gt;
        &lt;/setting&gt;
        &lt;setting name="Pass4" serializeAs="String"&gt;
          &lt;value&gt;dsfgfg=&lt;/value&gt;
        &lt;/setting&gt;
      &lt;/UserSettings&gt;
    &lt;/applicationSettings&gt;
  &lt;/configuration&gt;
  </code></pre>