entity framework - EntityFramework: unable to determine the provider name for provider factory of type 'system.data.sqlclient.sqlclientfactory' -


i have website use entity framework , sqlserver. when trying run application on azure following error:

unable determine provider name provider factory of type 'system.data.sqlclient.sqlclientfactory'. make sure ado.net provider installed or registered in application config. 

on premises works fine.

i have discovered error caused configuration section (that don't use anymore):

  <system.data>     <dbproviderfactories>       <add name="mysql data provider" invariant="mysql.data.mysqlclient" description=".net framework data provider mysql" type="mysql.data.mysqlclient.mysqlclientfactory, mysql.data" />     </dbproviderfactories>   </system.data> 

i have removed , worked correctly.


Comments

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -