EntitFrameWork

Pessoal estou criando uma aplicação simples usando enti framework na hora que eu rodo ele me da o seguinte erro “{“O inicializador de tipo de ‘System.Data.Entity.Internal.AppConfig’ acionou uma exceção.”}” vou postar meu app.config:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
    <connectionStrings>
        <add name="EFLivraria"
           connectionString="Data Source=THACKA\SQLExpress;Initial Catalog=Livraria;User ID=sa;Password=sa"
           providerName ="System.Data.SqlCliente"/>
    </connectionStrings> 
    <configSections>
        <!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 -->
        <section name="entityFramework" 
                 type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, 
                       EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" 
                  requirePermission="false" />
    </configSections>
    <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5" />
    </startup>
    <entityFramework>
        <defaultConnectionFactory type="System.Data.Entity.Infrastructure.SqlConnectionFactory, EntityFramework" />
        <providers>
            <provider invariantName="System.Data.SqlClient" 
                      type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer" />
        </providers>
    </entityFramework>
</configuration>

Faça o seguinte no arquivo App.config,

Coloque o connectionStringselemento é depois do configSectionselemento.
Coloque o startupelemento após o connectionStringselemento.

Fonte: http://stackoverflow.com/questions/17585611/the-type-initializer-for-system-data-entity-internal-appconfig-threw-an-except