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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -