Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unrecognized element 'providers' #2

Open
wilsonxyz opened this issue Jul 7, 2019 · 0 comments
Open

Unrecognized element 'providers' #2

wilsonxyz opened this issue Jul 7, 2019 · 0 comments

Comments

@wilsonxyz
Copy link

When i try to code, i got errors like this.
System.TypeInitializationException: 'The type initializer for 'System.Data.Entity.Internal.AppConfig' threw an exception.' Inner Exception ConfigurationErrorsException: Unrecognized element 'providers'.
here my app.config

<providers>        
        <provider invariantName="MySql.Data.MySqlClient"
            type="MySql.Data.MySqlClient.MySqlProviderServices, MySql.Data.Entity.EF6"/>            
        <provider invariantName="System.Data.SqlClient"
            type="System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer"/>
      </providers>

please advice.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant